From 7d43c02c069b9fe5904dd10927952d44ee614e30 Mon Sep 17 00:00:00 2001 From: nikic Date: Tue, 9 Aug 2011 13:26:04 +0200 Subject: [PATCH] Fix analyzer.php --- grammar/analyzer.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/grammar/analyzer.php b/grammar/analyzer.php index 930914e..fe87c86 100644 --- a/grammar/analyzer.php +++ b/grammar/analyzer.php @@ -1,7 +1,6 @@ \'[^\\\\\']*+(?:\\\\.[^\\\\\']*+)*+\') @@ -41,7 +40,7 @@ echo '
';
 ////////////////////
 ////////////////////
 
-list($defs, $ruleBlocks) = magicSplit('%%', file_get_contents(IN));
+list($defs, $ruleBlocks) = magicSplit('%%', file_get_contents(GRAMMAR_FILE));
 
 if ('' !== trim(preg_replace(regex(RULE_BLOCK), '', $ruleBlocks))) {
     die('Not all rule blocks were properly recognized!');