diff options
Diffstat (limited to 'src/solar.cpp')
-rw-r--r-- | src/solar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/solar.cpp b/src/solar.cpp index a5085a1..f466db8 100644 --- a/src/solar.cpp +++ b/src/solar.cpp @@ -33,7 +33,7 @@ namespace solar { -bool read_grammar(const char *filename, state_t *state) { +bool read_grammar(const char *filename, parser_state_t *state) { FILE *file = fopen(filename, "r"); if (!file) { std::fprintf(stderr, "unable to open file %s\n", filename); @@ -75,7 +75,7 @@ bool read_grammar(const char *filename, state_t *state) { int main() { using namespace solar; - state_t state; + parser_state_t state; if (!read_grammar("grammar.y", &state)) return 1; |