Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1336706
xhpast-make.bat
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Authored By
speck
Feb 6 2024, 02:28
2024-02-06 02:28:01 (UTC+0)
Size
517 B
Referenced Files
None
Subscribers
None
xhpast-make.bat
View Options
REM Generate parser_nodes.php and node_names.hpp
php -f ./bin/xhpast-generate-nodes.php
REM Compile the parser and scanner, resulting in parser.yacc.o and scanner.lex.o
clang++ -c -I./ -O3 -o parser.yacc.o parser.yacc.cpp
clang++ -c -I./ -O3 -o scanner.lex.o scanner.lex.cpp
REM Compile the xhpast.exe
REM Get the XHPAST_VERSION (in this case 7.1.6) by running: php -f ./bin/xhpast-generate-version.php
clang++ -I./ -L./ -static -O3 -D XHPAST_VERSION=\
"7.1.6\"
-o xhpast.exe parser.yacc.o scanner.lex.o xhpast.cpp
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
467923
Default Alt Text
xhpast-make.bat (517 B)
Attached To
Mode
P29 xhpast-make.bat
Attached
Detach File
Event Timeline
Log In to Comment