From dbac3d8324155122eb5722c42f9fd855ef5028bb Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Wed, 13 Jan 2021 15:56:42 -0500 Subject: Match [] as Operator in C lexer --- bin/c11.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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; } -- cgit 1.4.1