Commit 2905c9f3 authored by jehan's avatar jehan
Browse files

fix compatibility issue with antlr3.2

parent faf7dbfe
......@@ -1534,7 +1534,9 @@ hexpart : hexseq | hexseq COLON COLON ( hexseq )? | COLON COLON ( hexseq
hexseq : hex4 ( COLON hex4)*;
hex4 : hexdigit+;/* hexdigit hexdigit hexdigit ;*/
port returns [int ret=-1]: DIGIT+ { $ret=atoi((const char *)$text->chars); };
port returns [int ret]
@init {$ret=-1;}
: DIGIT+ { $ret=atoi((const char *)$text->chars); };
escaped : PERCENT hexdigit hexdigit;
ttl : three_digit;
......
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