Commit c155ce0a authored by jehan's avatar jehan
Browse files

fix compilation warning with gcc

parent 04a9acaa
......@@ -1534,7 +1534,7 @@ hexpart : hexseq | hexseq COLON COLON ( hexseq )? | COLON COLON ( hexseq
hexseq : hex4 ( COLON hex4)*;
hex4 : hexdigit+;/* hexdigit hexdigit hexdigit ;*/
port returns [int ret]: DIGIT+ { $ret=atoi((const char *)$text->chars); };
port returns [int ret=-1]: DIGIT+ { $ret=atoi((const char *)$text->chars); };
escaped : PERCENT hexdigit hexdigit;
ttl : three_digit;
......@@ -1656,4 +1656,4 @@ SP
OCTET : . ;
\ No newline at end of file
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