summaryrefslogtreecommitdiff
path: root/lib/jsonParse.ll
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-04-28 13:55:05 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-11-07 16:41:37 +0000
commitfc4ee249e0e4dd1b904080c817153e61c670acb1 (patch)
tree090e498888a928c374e08244c63e68e938c4269b /lib/jsonParse.ll
parentSimplify object creation code (diff)
downloadilt-fc4ee249e0e4dd1b904080c817153e61c670acb1.tar.bz2
ilt-fc4ee249e0e4dd1b904080c817153e61c670acb1.tar.xz
ilt-fc4ee249e0e4dd1b904080c817153e61c670acb1.zip
Tidy case of function names
Diffstat (limited to 'lib/jsonParse.ll')
-rw-r--r--lib/jsonParse.ll22
1 files changed, 11 insertions, 11 deletions
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 [^\\\"]*
%%
<ARRAY_ITEM,INITIAL>{true} {
- PushBoolean(true);
+ pushBoolean(true);
yy_pop_state();
}
<ARRAY_ITEM,INITIAL>{false} {
- PushBoolean(false);
+ pushBoolean(false);
yy_pop_state();
}
<ARRAY_ITEM,INITIAL>{number} {
- PushNumber(std::strtof(YYText(), NULL));
+ pushNumber(std::strtof(YYText(), NULL));
yy_pop_state();
}
<ARRAY_ITEM,INITIAL>{null} {
- PushNull();
+ pushNull();
yy_pop_state();
}
@@ -71,12 +71,12 @@ text [^\\\"]*
}
<ARRAY_ITEM,INITIAL>{beginobj} {
- BeginObject();
+ beginObject();
BEGIN(OBJECT_ITEM_OR_END);
}
<ARRAY_ITEM,INITIAL>{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 [^\\\"]*
}
<OBJECT_NEXT,OBJECT_ITEM_OR_END>{endobj} {
- EndObject();
+ endObject();
yy_pop_state();
}
<ARRAY_ITEM>{endarray} {
- EndArray();
+ endArray();
yy_pop_state();
yy_pop_state();
}
<ARRAY_NEXT>{endarray} {
- EndArray();
+ endArray();
yy_pop_state();
}