diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-04-10 22:00:34 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-04-10 22:00:34 +0200 |
commit | 0e9b564f8cb89e377738723fc431c1420f2f360c (patch) | |
tree | 4187fb7b7011fe7a408bdb1d0b92a3df2b4c8aa9 /src/output_lr0.hpp | |
parent | 4976085b722319a29a84e0591ba52d6cfd94b3da (diff) | |
download | solar-0e9b564f8cb89e377738723fc431c1420f2f360c.tar solar-0e9b564f8cb89e377738723fc431c1420f2f360c.zip |
output: rename i argument to state
Diffstat (limited to 'src/output_lr0.hpp')
-rw-r--r-- | src/output_lr0.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output_lr0.hpp b/src/output_lr0.hpp index dc77761..dd95318 100644 --- a/src/output_lr0.hpp +++ b/src/output_lr0.hpp @@ -36,7 +36,7 @@ class output_lr0_t : public output_t { private: const generator_lr0_t *generator; - void emit_state_shift(unsigned i); + void emit_state_shift(unsigned state); void emit_state_reduce(const item_t &item, int rule_id); protected: @@ -44,7 +44,7 @@ protected: return generator; } - virtual void emit_state(unsigned i); + virtual void emit_state(unsigned state); public: output_lr0_t(const generator_lr0_t *generator0, const char *header, const char *source) : output_t(header, source), generator(generator0) { |