File tree
Expand file treeCollapse file tree1 file changed
+4
-0
lines changed Expand file treeCollapse file tree1 file changed
+4
-0
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -16,6 +16,10 @@ PHP.Lexer = function( src, ini ) {
|
16 | 16 | openTag = (ini === undefined || (/^(on|true|1)$/i.test(ini.short_open_tag) ) ? /(\<\?php\s|\<\?|\<\%|\<script language\=('|")?php('|")?\>)/i : /(\<\?php\s|<\?=|\<script language\=('|")?php('|")?\>)/i),
|
17 | 17 | openTagStart = (ini === undefined || (/^(on|true|1)$/i.test(ini.short_open_tag)) ? /^(\<\?php\s|\<\?|\<\%|\<script language\=('|")?php('|")?\>)/i : /^(\<\?php\s|<\?=|\<script language\=('|")?php('|")?\>)/i),
|
18 | 18 | tokens = [
|
| 19 | +{ |
| 20 | +value: PHP.Constants.T_USE, |
| 21 | +re: /^use(?=\s)/i |
| 22 | +}, |
19 | 23 | {
|
20 | 24 | value: PHP.Constants.T_ABSTRACT,
|
21 | 25 | re: /^abstract(?=\s)/i
|
|
You can’t perform that action at this time.
0 commit comments