aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2016-08-14 16:27:20 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2016-08-14 16:32:35 +0200
commit261bb053785daff922880ff39bffb0531af3b12a (patch)
treeade6b2b6da1bd274198364c4bd02d7e86d212f4a
parent3f3ff18c9184c26ed62bb24868b642c01d1ace6e (diff)
downloadCompiler-261bb053785daff922880ff39bffb0531af3b12a.zip
Compiler-261bb053785daff922880ff39bffb0531af3b12a.tar.gz
Compiler-261bb053785daff922880ff39bffb0531af3b12a.tar.bz2
Analyzer: Fix current rule name.
-rw-r--r--Llk/Rule/Analyzer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Llk/Rule/Analyzer.php b/Llk/Rule/Analyzer.php
index 77cdb57..73a8248 100644
--- a/Llk/Rule/Analyzer.php
+++ b/Llk/Rule/Analyzer.php
@@ -150,7 +150,7 @@ class Analyzer
$this->_lexer = new Iterator\Lookahead($lexer->lexMe($value, static::$_ppLexemes));
$this->_lexer->rewind();
- $this->_ruleName = $value;
+ $this->_ruleName = $key;
$nodeId = null;
if ('#' === $key[0]) {