diff options
author | June McEnroe <june@causal.agency> | 2021-01-13 15:56:42 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-01-13 15:56:42 -0500 |
commit | dbac3d8324155122eb5722c42f9fd855ef5028bb (patch) | |
tree | 5da84669a975279c6346112d7f4bd7b692a48363 /bin | |
parent | Fix C lexer to require a digit in a float literal (diff) | |
download | src-dbac3d8324155122eb5722c42f9fd855ef5028bb.tar.gz src-dbac3d8324155122eb5722c42f9fd855ef5028bb.zip |
Match [] as Operator in C lexer
Diffstat (limited to 'bin')
-rw-r--r-- | bin/c11.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/c11.l b/bin/c11.l index c889173e..18c0879a 100644 --- a/bin/c11.l +++ b/bin/c11.l @@ -38,7 +38,7 @@ width "*"|[0-9]+ } ([-+*/%&|^=!<>]|"<<"|">>")"="? | -[=~.?:]|"++"|"--"|"&&"|"||"|"->" | +[=~.?:]|"["|"]"|"++"|"--"|"&&"|"||"|"->" | sizeof|(_A|alignof) { return Operator; } |