Commit c6447bc5 authored by Taddeüs Kroes's avatar Taddeüs Kroes

'and' and 'or' keywords may now be directly adjacent a comment

parent 70f032a3
...@@ -108,8 +108,10 @@ rule token = parse ...@@ -108,8 +108,10 @@ rule token = parse
| '@' uagent K E Y F R A M E S { KEYFRAMES_SYM } | '@' uagent K E Y F R A M E S { KEYFRAMES_SYM }
| '@' S U P P O R T S { SUPPORTS_SYM } | '@' S U P P O R T S { SUPPORTS_SYM }
| (s | comment)* s A N D s (s | comment)* { advance_pos lexbuf; WS_AND } | (s | comment)* s comment* A N D comment* s (s | comment)*
| (s | comment)* s O R s (s | comment)* { advance_pos lexbuf; WS_OR } { advance_pos lexbuf; WS_AND }
| (s | comment)* s comment* O R comment* s (s | comment)*
{ advance_pos lexbuf; WS_OR }
| O N L Y { ONLY } | O N L Y { ONLY }
| N O T { NOT } | N O T { NOT }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment