summaryrefslogtreecommitdiffstats
path: root/src/generator_lr0.hpp
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-04-09 19:44:01 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-04-09 19:44:01 +0200
commit70fc6ba8d2753492b2d4726f2718a2724bbf399a (patch)
tree159c0c6bb5a11d79968c093891f48146093c4926 /src/generator_lr0.hpp
parent35c02202fd782b32feef350a012cd3b55d5b6b12 (diff)
downloadsolar-70fc6ba8d2753492b2d4726f2718a2724bbf399a.tar
solar-70fc6ba8d2753492b2d4726f2718a2724bbf399a.zip
generator: fix add_reduction() argument name
Diffstat (limited to 'src/generator_lr0.hpp')
-rw-r--r--src/generator_lr0.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/generator_lr0.hpp b/src/generator_lr0.hpp
index 063a518..9b05ac3 100644
--- a/src/generator_lr0.hpp
+++ b/src/generator_lr0.hpp
@@ -37,7 +37,7 @@ private:
protected:
virtual bool has_reduce_conflict(size_t from, const symbol_t &sym);
- virtual void add_reduction(size_t from, size_t to);
+ virtual void add_reduction(size_t from, size_t rule);
public:
const std::map<size_t, size_t> & get_reductions() const {