mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR: Add instructions for how to compile parser to comment
This commit is contained in:
parent
71892085fc
commit
11459e40d4
@ -7,6 +7,10 @@ This is the uncompiled parser for the SilverStripe template language, PHP with s
|
||||
It gets run through the php-peg parser compiler to have those comments turned into code that match parts of the template language,
|
||||
producing the executable version SSTemplateParser.php
|
||||
|
||||
To recompile after changing this file, run this from the 'sapphire/core' directory via command line:
|
||||
|
||||
php ../thirdparty/php-peg/cli.php SSTemplateParser.php.inc > SSTemplateParser.php
|
||||
|
||||
See the php-peg docs for more information on the parser format, and how to convert this file into SSTemplateParser.php
|
||||
|
||||
TODO:
|
||||
|
Loading…
x
Reference in New Issue
Block a user