mirror of
https://github.com/php/php-src.git
synced 2024-11-28 12:26:37 +08:00
15 lines
415 B
Bash
Executable File
15 lines
415 B
Bash
Executable File
#! /bin/sh
|
|
|
|
STD='make -f Makefile.frag LEX="flex -L" YACC="bison -y -l" srcdir=.'
|
|
|
|
(eval "$STD Zend/zend_language_parser.c Zend/zend_language_scanner.c Zend/zend_ini_parser.c Zend/zend_ini_scanner.c")
|
|
|
|
set -x
|
|
bison -y -l ext/standard/parsedate.y && mv y.tab.c ext/standard/parsedate.c
|
|
|
|
for f in ext/standard/url_scanner_ex.c ext/standard/var_unserializer.c; do
|
|
cp $f $f.orig
|
|
grep -v '#line ' $f.orig > $f
|
|
done
|
|
|