semantic: Extend expression classification to detect integer constant expressions.
[cparser] / ast.h
diff --git a/ast.h b/ast.h
index f27f876..3a474e7 100644 (file)
--- a/ast.h
+++ b/ast.h
@@ -85,7 +85,8 @@ void change_indent(int delta);
 typedef enum expression_classification_t {
        EXPR_CLASS_VARIABLE,
        EXPR_CLASS_ERROR,
-       EXPR_CLASS_CONSTANT
+       EXPR_CLASS_CONSTANT,
+       EXPR_CLASS_INTEGER_CONSTANT
 } expression_classification_t;
 
 /**