Don't generate y.output file anymore as it really bloats diffs

This commit is contained in:
nikic 2011-08-04 11:12:19 +02:00
parent 06fcef9090
commit afcf7777bf
3 changed files with 2 additions and 19438 deletions

View File

@ -9,7 +9,6 @@ What do all those files mean?
* `preprocessor.php`: Transforms a `.pre.phpy` grammar into a `.phpy` grammar
* `rebuildParser.php`: Builds the actual parser by calling `kmyacc`
* `php.kmyacc`: A `kmyacc` parser prototype file for PHP
* `y.output`: `kmyacc`s debug output
.pre.phpy pseudo language
=========================

View File

@ -3,7 +3,7 @@
echo '<pre>';
echo 'Building parser. Output: "',
`kmyacc -l -v -L c -m php.kmyacc -p PHPParser_Parser zend_language_parser.phpy`,
`kmyacc -l -L c -m php.kmyacc -p PHPParser_Parser zend_language_parser.phpy`,
'"', "\n";
$source = file_get_contents('y.tab.c');
@ -24,7 +24,7 @@ file_put_contents(dirname(__DIR__) . '/lib/PHPParser/Parser.php', $source);
unlink(__DIR__ . '/y.tab.c');
echo 'Building debug parser. Output: "',
`kmyacc -l -v -t -L c -m php.kmyacc -p PHPParser_ParserDebug zend_language_parser.phpy`,
`kmyacc -l -t -L c -m php.kmyacc -p PHPParser_ParserDebug zend_language_parser.phpy`,
'"', "\n";
$source = file_get_contents('y.tab.c');

File diff suppressed because it is too large Load Diff