aboutsummaryrefslogtreecommitdiff
path: root/module/c/lex.scm
diff options
context:
space:
mode:
Diffstat (limited to 'module/c/lex.scm')
-rw-r--r--module/c/lex.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/c/lex.scm b/module/c/lex.scm
index b3c82001..0bde5c9e 100644
--- a/module/c/lex.scm
+++ b/module/c/lex.scm
@@ -112,6 +112,8 @@
;; It's important that ++ and -- are BEFORE + and -
;; otherwise the first + is found, leaving the second +, which fails
;; to lex since it's an invalid token
+ ;; TODO sizeof can be written as a prefix operator
+ ;; (without parenthesis) if the operand is an expression.
(or "*" "&" "++" "--"
"!" "~" "+" "-"))