From 24de61f14a7b1c0f3092192f828a1b676f7ef3ba Mon Sep 17 00:00:00 2001 From: Olof Hagsand Date: Mon, 9 Apr 2018 04:24:22 +0000 Subject: [PATCH] Ignore \r - common http/restconf end-of-line --- lib/src/clixon_json_parse.l | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/clixon_json_parse.l b/lib/src/clixon_json_parse.l index ea5eec30..3763d7f1 100644 --- a/lib/src/clixon_json_parse.l +++ b/lib/src/clixon_json_parse.l @@ -89,6 +89,7 @@ exp ({integer}|{real})[eE][+-]{integer} %% [ \t] \n { _JY->jy_linenum++; } +\r { } <> { return J_EOF; } \{ { return *yytext; } \} { return *yytext; }