Commit ccf39701 authored by Botond Baranyi's avatar Botond Baranyi
Browse files

Fixed usage of new JSON variant keywords in 'name as' (bug 553584)



Change-Id: I224716e5123516c9e877a01c7be780836f28d878
Signed-off-by: Botond Baranyi's avatarBotond Baranyi <botond.baranyi@ericsson.com>
parent b6dff628
......@@ -1847,6 +1847,13 @@ XJsonAlias: // include all keywords, so they can be used as aliases for fields,
| XKWfor { $$ = mcopystr("for"); }
| XKWunbound { $$ = mcopystr("unbound"); }
| XKWnumber { $$ = mcopystr("number"); }
| XKWstring { $$ = mcopystr("string"); }
| XKWinteger { $$ = mcopystr("integer"); }
| XKWarray { $$ = mcopystr("array"); }
| XKWobject { $$ = mcopystr("object"); }
| XKWobjectMember { $$ = mcopystr("objectMember"); }
| XKWliteral { $$ = mcopystr("literal"); }
;
XAsValue:
XKWas XSpaces XKWvalue { jsonstruct->as_value = true; }
......
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