Skip to content
Snippets Groups Projects
Commit 1de3060f authored by Botond Baranyi's avatar Botond Baranyi
Browse files

Reverted JSON default value lexer change, since it's also used by the 'extend'...

Reverted JSON default value lexer change, since it's also used by the 'extend' attribute (issue #547)

Signed-off-by: default avatarBotond Baranyi <botond.baranyi@ericsson.com>
parent 4a612a97
No related branches found
No related tags found
1 merge request!169Reverted JSON default value lexer change, since it's also used by the 'extend' attribute (issue #547)
...@@ -491,7 +491,7 @@ literal RETURN(XKWliteral); ...@@ -491,7 +491,7 @@ literal RETURN(XKWliteral);
else yylval.str = mcopystr(yytext); else yylval.str = mcopystr(yytext);
RETURN(XJsonValueSegment); RETURN(XJsonValueSegment);
} }
[)] { BEGIN(INITIAL); RETURN(XJsonValueEnd); } [)] { BEGIN(jsoncodec); RETURN(XJsonValueEnd); }
[\"][\"] { yylval.str = mcopystr("\\\""); RETURN(XJsonValueSegment); } [\"][\"] { yylval.str = mcopystr("\\\""); RETURN(XJsonValueSegment); }
[^\"\\)]+ { yylval.str = mcopystr(yytext); RETURN(XJsonValueSegment); } [^\"\\)]+ { yylval.str = mcopystr(yytext); RETURN(XJsonValueSegment); }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment