Skip to content

Commit ccd9bb3

Browse files
committed
hi
1 parent b201086 commit ccd9bb3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/preprocessor/preprocessor-grammar.pegjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,8 @@ if_line "if"
220220
/ token:IFNDEF identifier:IDENTIFIER {
221221
return node('ifndef', { token, identifier });
222222
}
223+
// Intentionally defer parsing of the expression, macro expansion is first
224+
// done on this string, then the expanded expression lexeme is parsed again
223225
/ token:IF expression:token_string? {
224226
return node('if', { token, expression });
225227
}

0 commit comments

Comments
 (0)