From fc4ee249e0e4dd1b904080c817153e61c670acb1 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 28 Apr 2021 13:55:05 +0100 Subject: Tidy case of function names --- lib/jsonParse.ll | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'lib/jsonParse.ll') diff --git a/lib/jsonParse.ll b/lib/jsonParse.ll index 7e0b8ca..52ad89f 100644 --- a/lib/jsonParse.ll +++ b/lib/jsonParse.ll @@ -47,22 +47,22 @@ text [^\\\"]* %% {true} { - PushBoolean(true); + pushBoolean(true); yy_pop_state(); } {false} { - PushBoolean(false); + pushBoolean(false); yy_pop_state(); } {number} { - PushNumber(std::strtof(YYText(), NULL)); + pushNumber(std::strtof(YYText(), NULL)); yy_pop_state(); } {null} { - PushNull(); + pushNull(); yy_pop_state(); } @@ -71,12 +71,12 @@ text [^\\\"]* } {beginobj} { - BeginObject(); + beginObject(); BEGIN(OBJECT_ITEM_OR_END); } {beginarray} { - BeginArray(); + beginArray(); BEGIN(ARRAY_NEXT); yy_push_state(ARRAY_ITEM); } @@ -86,12 +86,12 @@ text [^\\\"]* switch (YY_START) { case ARRAY_ITEM: case INITIAL: - PushText(std::move(buf)); + pushText(std::move(buf)); yy_pop_state(); break; case OBJECT_ITEM: case OBJECT_ITEM_OR_END: - PushKey(std::move(buf)); + pushKey(std::move(buf)); BEGIN(COLON); break; } @@ -99,18 +99,18 @@ text [^\\\"]* } {endobj} { - EndObject(); + endObject(); yy_pop_state(); } {endarray} { - EndArray(); + endArray(); yy_pop_state(); yy_pop_state(); } {endarray} { - EndArray(); + endArray(); yy_pop_state(); } -- cgit v1.2.3