add requier and include tokens

This commit is contained in:
z7zmey 2017-11-21 00:48:09 +02:00
parent 6322c67e5c
commit bd35abbc9c
2 changed files with 2372 additions and 2080 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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")