Ignore \r - common http/restconf end-of-line

This commit is contained in:
Olof Hagsand 2018-04-09 04:24:22 +00:00
parent a2e9a05902
commit 24de61f14a

View file

@ -89,6 +89,7 @@ exp ({integer}|{real})[eE][+-]{integer}
%%
<START>[ \t]
<START>\n { _JY->jy_linenum++; }
<START>\r { }
<START><<EOF>> { return J_EOF; }
<START>\{ { return *yytext; }
<START>\} { return *yytext; }