mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-11-26 20:14:46 +01:00
Don't generate y.output file anymore as it really bloats diffs
This commit is contained in:
parent
06fcef9090
commit
afcf7777bf
@ -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
|
||||
=========================
|
||||
|
@ -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');
|
||||
|
19435
grammar/y.output
19435
grammar/y.output
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user