File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
gen/io/runescript/plugin/lang/lexer Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 6
6
import com .intellij .lexer .FlexLexer ;
7
7
import com .intellij .psi .TokenType ;
8
8
import com .intellij .psi .tree .IElementType ;
9
- import it .unimi .dsi .fastutil .ints .IntArrayList ;
9
+ import io . runescript . plugin . lang . psi . RsTokenTypes ; import it .unimi .dsi .fastutil .ints .IntArrayList ;
10
10
import it .unimi .dsi .fastutil .ints .IntStack ;
11
11
12
12
import java .util .List ;
@@ -655,7 +655,7 @@ else if (zzAtEOF) {
655
655
switch (zzLexicalState ) {
656
656
case BLOCK_COMMENT : {
657
657
popState ();
658
- return BLOCK_COMMENT ;
658
+ return RsTokenTypes . BLOCK_COMMENT ;
659
659
} // fall though
660
660
case 133 : break ;
661
661
default :
@@ -886,7 +886,7 @@ else if (zzAtEOF) {
886
886
case 86 : break ;
887
887
case 37 :
888
888
{ popState ();
889
- return BLOCK_COMMENT ;
889
+ return RsTokenTypes . BLOCK_COMMENT ;
890
890
}
891
891
// fall through
892
892
case 87 : break ;
@@ -901,7 +901,7 @@ else if (zzAtEOF) {
901
901
// fall through
902
902
case 89 : break ;
903
903
case 40 :
904
- { return BLOCK_COMMENT ;
904
+ { return RsTokenTypes . BLOCK_COMMENT ;
905
905
}
906
906
// fall through
907
907
case 90 : break ;
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ package io.runescript.plugin.lang.lexer;
3
3
import com.intellij.lexer.FlexLexer ;
4
4
import com.intellij.psi.TokenType ;
5
5
import com.intellij.psi.tree.IElementType ;
6
+ import io.runescript.plugin.lang.psi.RsTokenTypes ;
6
7
import it.unimi.dsi.fastutil.ints.IntArrayList ;
7
8
import it.unimi.dsi.fastutil.ints.IntStack ;
8
9
@@ -65,19 +66,19 @@ INCOMPLETE_TAG = "<"(shad|col|str|u|img)"="
65
66
<BLOCK_COMMENT> {
66
67
"*/" {
67
68
popState();
68
- return BLOCK_COMMENT ;
69
+ return RsTokenTypes . BLOCK_COMMENT ;
69
70
}
70
71
<<EOF>> {
71
72
popState();
72
- return BLOCK_COMMENT ;
73
+ return RsTokenTypes . BLOCK_COMMENT ;
73
74
}
74
75
[\s\S] { }
75
76
}
76
77
77
78
<YYINITIAL,STRING_INTERPOLATION> {
78
79
79
80
// Comments
80
- "/**/" { return BLOCK_COMMENT ; }
81
+ "/**/" { return RsTokenTypes . BLOCK_COMMENT ; }
81
82
"/*" { pushState(BLOCK_COMMENT ); }
82
83
83
84
{LINE_COMMENT} { return LINE_COMMENT ; }
You can’t perform that action at this time.
0 commit comments