Skip to content

Commit

Permalink
[Change] Reparsed by parsergen v1.7.5
Browse files Browse the repository at this point in the history
  • Loading branch information
buck-yeh committed Aug 10, 2024
1 parent ee1ea02 commit 93243f5
Show file tree
Hide file tree
Showing 15 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions ParserGen/Parser.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is fully generated by running parsergen v1.7.1
// This file is fully generated by running parsergen v1.7.5
// with grammer definition file "grammar.txt"

// Grammar %HEADERS_FOR_CPP begins
Expand Down Expand Up @@ -1135,7 +1135,7 @@ bux::T_StateID C_ParserPolicy::nextState(bux::T_StateID state, bux::T_LexID inpu
else if (input >= ENCODED_TOKEN_LB)
LOGIC_ERROR("Invalid input: state={} input={}", (int)state, printToken(input));

auto end = mapGoto + 25;
static constinit const auto end = mapGoto + 25;
auto found = std::lower_bound(mapGoto, end, state, [](const C_MapGoto &i, bux::T_StateID state_) {
return i.m_curState < state_;
});
Expand Down
4 changes: 2 additions & 2 deletions ParserGen/Parser.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is fully generated by running parsergen v1.7.1
// This file is fully generated by running parsergen v1.7.5
// with grammer definition file "grammar.txt"

#pragma once
Expand All @@ -15,7 +15,7 @@ class C_BNFParser: public bux::LR1::C_Parser
public:

// Data
C_BNFContext m_context;
ParserGen::C_BNFContext& m_context;

// Ctor
template<class...T_Args>
Expand Down
2 changes: 1 addition & 1 deletion ParserGen/ParserIdDef.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is fully generated by running parsergen v1.7.1
// This file is fully generated by running parsergen v1.7.5
// with grammer definition file "grammar.txt"

#pragma once
Expand Down
4 changes: 2 additions & 2 deletions ScannerGen/Parser.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is fully generated by running parsergen v1.7.1
// This file is fully generated by running parsergen v1.7.5
// with grammer definition file "grammar.txt"

// Grammar %HEADERS_FOR_CPP begins
Expand Down Expand Up @@ -1463,7 +1463,7 @@ bux::T_StateID C_ParserPolicy::nextState(bux::T_StateID state, bux::T_LexID inpu
else if (input >= ENCODED_TOKEN_LB)
LOGIC_ERROR("Invalid input: state={} input={}", (int)state, printToken(input));

auto end = mapGoto + 60;
static constinit const auto end = mapGoto + 60;
auto found = std::lower_bound(mapGoto, end, state, [](const C_MapGoto &i, bux::T_StateID state_) {
return i.m_curState < state_;
});
Expand Down
2 changes: 1 addition & 1 deletion ScannerGen/Parser.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is fully generated by running parsergen v1.7.1
// This file is fully generated by running parsergen v1.7.5
// with grammer definition file "grammar.txt"

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion ScannerGen/ParserIdDef.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is fully generated by running parsergen v1.7.1
// This file is fully generated by running parsergen v1.7.5
// with grammer definition file "grammar.txt"

#pragma once
Expand Down
4 changes: 2 additions & 2 deletions example/BisonGLR/Parser.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is fully generated by running parsergen v1.7.1
// This file is fully generated by running parsergen v1.7.5
// with grammer definition file "grammar.txt"

// Grammar %HEADERS_FOR_CPP begins
Expand Down Expand Up @@ -533,7 +533,7 @@ bux::T_StateID C_ParserPolicy::nextState(bux::T_StateID state, bux::T_LexID inpu
else if (input >= ENCODED_TOKEN_LB)
LOGIC_ERROR("Invalid input: state={} input={}", (int)state, printToken(input));

auto end = mapGoto + 35;
static constinit const auto end = mapGoto + 35;
auto found = std::lower_bound(mapGoto, end, state, [](const C_MapGoto &i, bux::T_StateID state_) {
return i.m_curState < state_;
});
Expand Down
2 changes: 1 addition & 1 deletion example/BisonGLR/Parser.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is fully generated by running parsergen v1.7.1
// This file is fully generated by running parsergen v1.7.5
// with grammer definition file "grammar.txt"

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion example/BisonGLR/ParserIdDef.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is fully generated by running parsergen v1.7.1
// This file is fully generated by running parsergen v1.7.5
// with grammer definition file "grammar.txt"

#pragma once
Expand Down
4 changes: 2 additions & 2 deletions example/CalcInt/Parser.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is fully generated by running parsergen v1.7.1
// This file is fully generated by running parsergen v1.7.5
// with grammer definition file "grammar.txt"

// Grammar %HEADERS_FOR_CPP undefined (expanded here otherwise)
Expand Down Expand Up @@ -384,7 +384,7 @@ bux::T_StateID C_ParserPolicy::nextState(bux::T_StateID state, bux::T_LexID inpu
else if (input >= ENCODED_TOKEN_LB)
LOGIC_ERROR("Invalid input: state={} input={}", (int)state, printToken(input));

auto end = mapGoto + 20;
static constinit const auto end = mapGoto + 20;
auto found = std::lower_bound(mapGoto, end, state, [](const C_MapGoto &i, bux::T_StateID state_) {
return i.m_curState < state_;
});
Expand Down
2 changes: 1 addition & 1 deletion example/CalcInt/Parser.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is fully generated by running parsergen v1.7.1
// This file is fully generated by running parsergen v1.7.5
// with grammer definition file "grammar.txt"

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion example/CalcInt/ParserIdDef.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is fully generated by running parsergen v1.7.1
// This file is fully generated by running parsergen v1.7.5
// with grammer definition file "grammar.txt"

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion example/MinLang/Parser.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is fully generated by running parsergen v1.7.1
// This file is fully generated by running parsergen v1.7.5
// with grammer definition file "grammar.txt"

// Grammar %HEADERS_FOR_CPP undefined (expanded here otherwise)
Expand Down
2 changes: 1 addition & 1 deletion example/MinLang/Parser.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is fully generated by running parsergen v1.7.1
// This file is fully generated by running parsergen v1.7.5
// with grammer definition file "grammar.txt"

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion example/MinLang/ParserIdDef.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is fully generated by running parsergen v1.7.1
// This file is fully generated by running parsergen v1.7.5
// with grammer definition file "grammar.txt"

#pragma once
Expand Down

0 comments on commit 93243f5

Please sign in to comment.