Parsing failed

11 views
Skip to first unread message

Peter Cheung

unread,
Mar 5, 2018, 2:21:08 PM3/5/18
to antlr-discussion

Hi All
    Why this can parse "(bits 64){aaa}"
   
bits64 : '(bits 64){' 'aaa' '}'
;


But this cant?


   
INSTRUCTION : 'aaa';
bits64 : '(bits 64){' INSTRUCTION '}'
;


Thanks
Reply all
Reply to author
Forward
0 new messages