aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse.c')
-rw-r--r--src/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse.c b/src/parse.c
index 0a23aaa..99db2b5 100644
--- a/src/parse.c
+++ b/src/parse.c
@@ -2342,7 +2342,7 @@ static int eval(AstNode* e) {
}
bool pp_eval_constant_expression(TokenArray* pp_tokens) {
- TokenArray* tokens = tokenize(pp_tokens);
+ TokenArray* tokens = convert_pp_tokens_to_tokens(pp_tokens);
Parser* p = parser_new(tokens);
AstNode* e = parse_constant_expression(p);
return eval(e) != 0;