File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ module.exports = {
54
54
} ,
55
55
matchST_VAR_OFFSET : function ( ) {
56
56
const ch = this . input ( ) ;
57
- if ( this . is_NUM ( ) ) {
57
+ if ( this . is_NUM_START ( ) ) {
58
58
this . consume_NUM ( ) ;
59
59
return this . tok . T_NUM_STRING ;
60
60
} else if ( ch === "]" ) {
Original file line number Diff line number Diff line change @@ -69,13 +69,13 @@ module.exports = {
69
69
default :
70
70
if ( ch === "." ) {
71
71
ch = this . input ( ) ;
72
- if ( this . is_NUM ( ) ) {
72
+ if ( this . is_NUM_START ( ) ) {
73
73
return this . consume_NUM ( ) ;
74
74
} else {
75
75
if ( ch ) this . unput ( 1 ) ;
76
76
}
77
77
}
78
- if ( this . is_NUM ( ) ) {
78
+ if ( this . is_NUM_START ( ) ) {
79
79
return this . consume_NUM ( ) ;
80
80
} else if ( this . is_LABEL_START ( ) ) {
81
81
return this . consume_LABEL ( ) . T_STRING ( ) ;
You can’t perform that action at this time.
0 commit comments