add requier and include tokens
This commit is contained in:
parent
6322c67e5c
commit
bd35abbc9c
4448
php-parser.go
4448
php-parser.go
File diff suppressed because it is too large
Load Diff
@ -253,6 +253,10 @@ NEW_LINE (\r|\n|\r\n)
|
||||
<PHP>while fmt.Println("T_WHILE")
|
||||
<PHP>yield[ \t\n\r]+from[^a-zA-Z0-9_\x80-\xff] fmt.Println("T_YIELD_FROM")
|
||||
<PHP>yield fmt.Println("T_YIELD")
|
||||
<PHP>include fmt.Println("T_INCLUDE")
|
||||
<PHP>include_once fmt.Println("T_INCLUDE_ONCE")
|
||||
<PHP>require fmt.Println("T_REQUIRE")
|
||||
<PHP>require_once fmt.Println("T_REQUIRE_ONCE")
|
||||
<PHP>__CLASS__ fmt.Println("T_CLASS_C")
|
||||
<PHP>__DIR__ fmt.Println("T_DIR")
|
||||
<PHP>__FILE__ fmt.Println("T_FILE")
|
||||
|
Loading…
Reference in New Issue
Block a user