mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-11-30 04:29:15 +01:00
In rebuildParser.php output stderr too (so there actually is output)
This commit is contained in:
parent
afcf7777bf
commit
70306000e8
@ -3,7 +3,7 @@
|
||||
echo '<pre>';
|
||||
|
||||
echo 'Building parser. Output: "',
|
||||
`kmyacc -l -L c -m php.kmyacc -p PHPParser_Parser zend_language_parser.phpy`,
|
||||
trim(`kmyacc -l -L c -m php.kmyacc -p PHPParser_Parser zend_language_parser.phpy 2>&1`),
|
||||
'"', "\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 -t -L c -m php.kmyacc -p PHPParser_ParserDebug zend_language_parser.phpy`,
|
||||
trim(`kmyacc -l -t -L c -m php.kmyacc -p PHPParser_ParserDebug zend_language_parser.phpy 2>&1`),
|
||||
'"', "\n";
|
||||
|
||||
$source = file_get_contents('y.tab.c');
|
||||
|
Loading…
Reference in New Issue
Block a user