Skip to content

Commit 474eaa4

Browse files
committed
Disallow "+" as part of identifiers
1 parent d4d9be4 commit 474eaa4

File tree

2 files changed

+105
-122
lines changed

2 files changed

+105
-122
lines changed

src/main/gen/io/runescript/plugin/lang/lexer/_RsLexer.java

Lines changed: 104 additions & 121 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Generated by JFlex 1.9.1 http://jflex.de/ (tweaked for IntelliJ platform)
1+
// Generated by JFlex 1.9.2 http://jflex.de/ (tweaked for IntelliJ platform)
22
// source: RuneScript.flex
33

44
package io.runescript.plugin.lang.lexer;
@@ -113,7 +113,7 @@ private static int zzUnpackcmap_blocks(String packed, int offset, int [] result)
113113
"\1\10\1\11\1\12\1\13\1\14\1\15\1\16\1\17"+
114114
"\2\20\1\21\1\22\1\23\1\24\1\25\1\26\1\27"+
115115
"\1\30\11\16\1\31\1\32\1\33\1\34\1\35\1\36"+
116-
"\1\37\1\1\2\40\4\20\1\41\1\0\1\42\2\16"+
116+
"\1\37\1\1\2\40\2\20\1\41\1\0\1\42\2\16"+
117117
"\1\43\1\44\4\16\1\45\4\16\7\0\1\35\1\46"+
118118
"\1\42\1\0\1\47\2\50\1\20\12\16\7\0\1\35"+
119119
"\1\51\1\20\1\52\1\16\1\53\1\54\1\16\1\55"+
@@ -122,7 +122,7 @@ private static int zzUnpackcmap_blocks(String packed, int offset, int [] result)
122122
"\1\63\1\16\1\64";
123123

124124
private static int [] zzUnpackAction() {
125-
int [] result = new int[134];
125+
int [] result = new int[132];
126126
int offset = 0;
127127
offset = zzUnpackAction(ZZ_ACTION_PACKED_0, offset, result);
128128
return result;
@@ -148,25 +148,25 @@ private static int zzUnpackAction(String packed, int offset, int [] result) {
148148

149149
private static final String ZZ_ROWMAP_PACKED_0 =
150150
"\0\0\0\70\0\160\0\250\0\250\0\250\0\250\0\250"+
151-
"\0\250\0\250\0\250\0\250\0\250\0\340\0\250\0\u0118"+
152-
"\0\u0150\0\u0188\0\u01c0\0\u01f8\0\u0150\0\250\0\u0230\0\250"+
153-
"\0\u0268\0\250\0\250\0\250\0\u02a0\0\u02d8\0\u0310\0\u0348"+
154-
"\0\u0380\0\u03b8\0\u03f0\0\u0428\0\u0460\0\250\0\250\0\250"+
155-
"\0\250\0\u0498\0\250\0\u04d0\0\u0508\0\250\0\u0540\0\u0578"+
156-
"\0\u05b0\0\u05e8\0\u0620\0\u0658\0\u0690\0\u0150\0\u06c8\0\u0700"+
157-
"\0\250\0\250\0\u0738\0\u0770\0\u07a8\0\u07e0\0\u0150\0\u0818"+
158-
"\0\u0850\0\u0888\0\u08c0\0\u08f8\0\u0930\0\u0968\0\u09a0\0\u09d8"+
159-
"\0\u0a10\0\u0a48\0\250\0\250\0\250\0\u0a80\0\u0ab8\0\250"+
160-
"\0\u0af0\0\u0b28\0\u0b60\0\u0b98\0\u0bd0\0\u0c08\0\u0c40\0\u0c78"+
161-
"\0\u0cb0\0\u0ce8\0\u0d20\0\u0d58\0\u0d90\0\u0dc8\0\u0e00\0\u0e38"+
162-
"\0\u0e70\0\u0ea8\0\u0ee0\0\u0f18\0\250\0\u0f50\0\250\0\u0f88"+
163-
"\0\u0150\0\u0150\0\u0fc0\0\u0150\0\u0ff8\0\u0150\0\u1030\0\u0150"+
164-
"\0\u1068\0\u10a0\0\u10d8\0\u1110\0\u1148\0\u1180\0\u11b8\0\u11f0"+
165-
"\0\u1228\0\u0150\0\u1260\0\u0150\0\u1298\0\u12d0\0\u1308\0\u1340"+
166-
"\0\u0150\0\u1378\0\u13b0\0\u0150\0\u13e8\0\u13e8";
151+
"\0\250\0\250\0\250\0\250\0\250\0\340\0\250\0\340"+
152+
"\0\u0118\0\u0150\0\u0188\0\u01c0\0\u0118\0\250\0\u01f8\0\250"+
153+
"\0\u0230\0\250\0\250\0\250\0\u0268\0\u02a0\0\u02d8\0\u0310"+
154+
"\0\u0348\0\u0380\0\u03b8\0\u03f0\0\u0428\0\250\0\250\0\250"+
155+
"\0\250\0\u0460\0\250\0\u0498\0\u04d0\0\250\0\u0508\0\u0540"+
156+
"\0\u0578\0\u05b0\0\u05e8\0\u0118\0\u0620\0\u0658\0\250\0\250"+
157+
"\0\u0690\0\u06c8\0\u0700\0\u0738\0\u0118\0\u0770\0\u07a8\0\u07e0"+
158+
"\0\u0818\0\u0850\0\u0888\0\u08c0\0\u08f8\0\u0930\0\u0968\0\u09a0"+
159+
"\0\250\0\250\0\250\0\u09d8\0\u0a10\0\250\0\u0a48\0\u0a80"+
160+
"\0\u0ab8\0\u0af0\0\u0b28\0\u0b60\0\u0b98\0\u0bd0\0\u0c08\0\u0c40"+
161+
"\0\u0c78\0\u0cb0\0\u0ce8\0\u0d20\0\u0d58\0\u0d90\0\u0dc8\0\u0e00"+
162+
"\0\u0e38\0\u0e70\0\250\0\u0ea8\0\250\0\u0ee0\0\u0118\0\u0118"+
163+
"\0\u0f18\0\u0118\0\u0f50\0\u0118\0\u0f88\0\u0118\0\u0fc0\0\u0ff8"+
164+
"\0\u1030\0\u1068\0\u10a0\0\u10d8\0\u1110\0\u1148\0\u1180\0\u0118"+
165+
"\0\u11b8\0\u0118\0\u11f0\0\u1228\0\u1260\0\u1298\0\u0118\0\u12d0"+
166+
"\0\u1308\0\u0118\0\u1340\0\u1340";
167167

168168
private static int [] zzUnpackRowMap() {
169-
int [] result = new int[134];
169+
int [] result = new int[132];
170170
int offset = 0;
171171
offset = zzUnpackRowMap(ZZ_ROWMAP_PACKED_0, offset, result);
172172
return result;
@@ -196,105 +196,88 @@ private static int zzUnpackRowMap(String packed, int offset, int [] result) {
196196
"\1\40\2\21\1\41\2\21\1\42\1\21\1\43\1\21"+
197197
"\1\44\2\21\1\45\1\46\1\47\1\50\1\51\2\52"+
198198
"\2\4\1\52\1\53\20\52\1\54\6\52\1\55\32\52"+
199-
"\14\56\1\57\53\56\105\0\1\21\2\0\1\21\1\0"+
200-
"\1\60\1\61\1\21\4\0\3\21\4\0\24\21\26\0"+
201-
"\1\62\1\63\61\0\1\21\2\0\1\21\1\0\3\21"+
202-
"\4\0\3\21\4\0\24\21\20\0\1\64\4\0\1\65"+
203-
"\63\0\1\21\2\0\1\21\1\0\2\24\1\21\4\0"+
204-
"\1\21\1\66\1\67\4\0\1\70\11\21\1\66\11\21"+
205-
"\21\0\1\21\2\0\1\21\1\0\2\24\1\21\4\0"+
206-
"\1\21\1\66\1\21\4\0\1\70\11\21\1\66\11\21"+
207-
"\33\0\1\71\67\0\1\72\55\0\1\21\2\0\1\21"+
208-
"\1\0\3\21\4\0\3\21\4\0\1\21\1\73\22\21"+
209-
"\21\0\1\21\2\0\1\21\1\0\3\21\4\0\3\21"+
210-
"\4\0\5\21\1\74\16\21\21\0\1\21\2\0\1\21"+
211-
"\1\0\3\21\4\0\3\21\4\0\12\21\1\75\11\21"+
212-
"\21\0\1\21\2\0\1\21\1\0\3\21\4\0\3\21"+
213-
"\4\0\1\21\1\76\22\21\21\0\1\21\2\0\1\21"+
214-
"\1\0\3\21\4\0\3\21\4\0\6\21\1\77\15\21"+
215-
"\21\0\1\21\2\0\1\21\1\0\3\21\4\0\3\21"+
216-
"\4\0\21\21\1\100\2\21\21\0\1\21\2\0\1\21"+
217-
"\1\0\3\21\4\0\3\21\4\0\5\21\1\101\16\21"+
218-
"\21\0\1\21\2\0\1\21\1\0\3\21\4\0\3\21"+
219-
"\4\0\16\21\1\102\5\21\21\0\1\21\2\0\1\21"+
220-
"\1\0\3\21\4\0\3\21\4\0\10\21\1\103\13\21"+
221-
"\4\0\2\52\2\0\1\52\1\0\20\52\1\0\6\52"+
222-
"\1\0\32\52\21\0\1\104\20\0\1\105\1\106\3\0"+
223-
"\1\107\1\0\1\110\1\107\4\0\1\111\1\0\1\112"+
224-
"\13\0\1\113\3\0\1\113\14\0\1\113\6\0\1\113"+
225-
"\3\0\2\113\3\0\1\113\5\0\1\113\1\0\1\113"+
226-
"\1\0\1\113\1\0\1\113\26\0\1\114\63\0\1\21"+
227-
"\2\0\1\21\1\0\2\61\1\21\4\0\1\21\1\66"+
228-
"\1\67\4\0\12\21\1\66\11\21\21\0\1\21\2\0"+
229-
"\1\21\1\0\2\61\1\21\4\0\1\21\1\66\1\21"+
230-
"\4\0\12\21\1\66\11\21\26\0\2\63\6\0\1\115"+
231-
"\1\116\16\0\1\115\37\0\2\63\6\0\1\115\17\0"+
232-
"\1\115\31\0\1\117\53\0\2\65\1\120\1\121\64\65"+
233-
"\15\0\1\21\2\0\1\21\1\0\2\122\1\21\4\0"+
234-
"\1\122\2\21\4\0\1\21\6\122\15\21\21\0\1\21"+
235-
"\2\0\1\21\1\0\2\123\1\21\4\0\3\21\4\0"+
236-
"\24\21\21\0\1\21\2\0\1\21\1\0\3\21\4\0"+
237-
"\3\21\4\0\12\21\1\124\4\21\1\125\4\21\21\0"+
238-
"\1\21\2\0\1\21\1\0\3\21\4\0\3\21\4\0"+
239-
"\6\21\1\126\15\21\21\0\1\21\2\0\1\21\1\0"+
240-
"\3\21\4\0\3\21\4\0\17\21\1\127\4\21\21\0"+
241-
"\1\21\2\0\1\21\1\0\3\21\4\0\3\21\4\0"+
242-
"\12\21\1\130\11\21\21\0\1\21\2\0\1\21\1\0"+
243-
"\3\21\4\0\3\21\4\0\12\21\1\131\11\21\21\0"+
244-
"\1\21\2\0\1\21\1\0\3\21\4\0\3\21\4\0"+
245-
"\20\21\1\132\3\21\21\0\1\21\2\0\1\21\1\0"+
246-
"\3\21\4\0\3\21\4\0\21\21\1\133\2\21\21\0"+
247-
"\1\21\2\0\1\21\1\0\3\21\4\0\3\21\4\0"+
248-
"\11\21\1\134\12\21\47\0\1\135\13\0\1\136\1\0"+
249-
"\1\137\64\0\1\137\66\0\1\140\72\0\1\137\62\0"+
250-
"\1\141\64\0\1\142\7\0\1\143\36\0\1\144\1\145"+
251-
"\61\0\2\146\5\0\1\146\7\0\6\146\42\0\1\147"+
252-
"\50\0\1\120\102\0\1\21\2\0\1\21\1\0\2\122"+
253-
"\1\21\4\0\1\122\1\66\1\21\4\0\1\21\6\122"+
254-
"\3\21\1\66\11\21\21\0\1\21\2\0\1\21\1\0"+
255-
"\2\123\1\21\4\0\3\21\4\0\1\150\23\21\21\0"+
256-
"\1\21\2\0\1\21\1\0\3\21\4\0\3\21\4\0"+
257-
"\3\21\1\151\20\21\21\0\1\21\2\0\1\21\1\0"+
258-
"\3\21\4\0\3\21\4\0\5\21\1\152\16\21\21\0"+
259-
"\1\21\2\0\1\21\1\0\3\21\4\0\3\21\4\0"+
260-
"\1\21\1\153\22\21\21\0\1\21\2\0\1\21\1\0"+
261-
"\3\21\4\0\3\21\4\0\5\21\1\154\16\21\21\0"+
262-
"\1\21\2\0\1\21\1\0\3\21\4\0\3\21\4\0"+
263-
"\17\21\1\155\4\21\21\0\1\21\2\0\1\21\1\0"+
264-
"\3\21\4\0\3\21\4\0\12\21\1\156\11\21\21\0"+
265-
"\1\21\2\0\1\21\1\0\3\21\4\0\3\21\4\0"+
266-
"\21\21\1\157\2\21\21\0\1\21\2\0\1\21\1\0"+
267-
"\3\21\4\0\3\21\4\0\5\21\1\160\16\21\21\0"+
268-
"\1\21\2\0\1\21\1\0\3\21\4\0\3\21\4\0"+
269-
"\12\21\1\161\11\21\61\0\1\162\62\0\1\163\7\0"+
270-
"\1\105\37\0\1\145\111\0\1\164\64\0\1\165\61\0"+
271-
"\1\166\104\0\1\112\33\0\2\167\5\0\1\167\7\0"+
272-
"\6\167\43\0\2\146\5\0\1\146\1\115\6\0\6\146"+
273-
"\3\0\1\115\32\0\1\21\2\0\1\21\1\0\2\170"+
274-
"\1\21\4\0\3\21\4\0\24\21\21\0\1\21\2\0"+
275-
"\1\21\1\0\3\21\4\0\3\21\4\0\21\21\1\171"+
276-
"\2\21\21\0\1\21\2\0\1\21\1\0\3\21\4\0"+
277-
"\3\21\4\0\5\21\1\172\16\21\21\0\1\21\2\0"+
278-
"\1\21\1\0\3\21\4\0\3\21\4\0\16\21\1\173"+
279-
"\5\21\21\0\1\21\2\0\1\21\1\0\3\21\4\0"+
280-
"\3\21\4\0\5\21\1\174\16\21\56\0\1\137\56\0"+
281-
"\1\175\55\0\1\144\67\0\1\176\104\0\1\164\45\0"+
282-
"\2\167\4\0\1\145\1\167\7\0\6\167\36\0\1\21"+
283-
"\2\0\1\21\1\0\2\170\1\21\4\0\3\21\4\0"+
284-
"\1\177\23\21\21\0\1\21\2\0\1\21\1\0\3\21"+
285-
"\4\0\3\21\4\0\12\21\1\200\11\21\21\0\1\21"+
286-
"\2\0\1\21\1\0\3\21\4\0\3\21\4\0\14\21"+
287-
"\1\201\7\21\50\0\1\137\45\0\2\202\61\0\1\21"+
288-
"\2\0\1\21\1\0\2\203\1\21\4\0\3\21\4\0"+
289-
"\24\21\21\0\1\21\2\0\1\21\1\0\3\21\4\0"+
290-
"\3\21\4\0\20\21\1\204\3\21\26\0\2\202\4\0"+
291-
"\1\145\54\0\1\21\2\0\1\21\1\0\2\203\1\21"+
292-
"\4\0\3\21\4\0\1\205\23\21\21\0\1\21\2\0"+
293-
"\1\21\1\0\2\206\1\21\4\0\3\21\4\0\24\21"+
294-
"\4\0";
199+
"\14\56\1\57\53\56\112\0\1\60\1\61\64\0\1\21"+
200+
"\1\0\3\21\4\0\3\21\4\0\24\21\20\0\1\62"+
201+
"\4\0\1\63\66\0\1\21\1\0\2\24\1\21\4\0"+
202+
"\1\21\1\64\1\65\4\0\1\66\11\21\1\64\11\21"+
203+
"\24\0\1\21\1\0\2\24\1\21\4\0\1\21\1\64"+
204+
"\1\21\4\0\1\66\11\21\1\64\11\21\33\0\1\67"+
205+
"\67\0\1\70\60\0\1\21\1\0\3\21\4\0\3\21"+
206+
"\4\0\1\21\1\71\22\21\24\0\1\21\1\0\3\21"+
207+
"\4\0\3\21\4\0\5\21\1\72\16\21\24\0\1\21"+
208+
"\1\0\3\21\4\0\3\21\4\0\12\21\1\73\11\21"+
209+
"\24\0\1\21\1\0\3\21\4\0\3\21\4\0\1\21"+
210+
"\1\74\22\21\24\0\1\21\1\0\3\21\4\0\3\21"+
211+
"\4\0\6\21\1\75\15\21\24\0\1\21\1\0\3\21"+
212+
"\4\0\3\21\4\0\21\21\1\76\2\21\24\0\1\21"+
213+
"\1\0\3\21\4\0\3\21\4\0\5\21\1\77\16\21"+
214+
"\24\0\1\21\1\0\3\21\4\0\3\21\4\0\16\21"+
215+
"\1\100\5\21\24\0\1\21\1\0\3\21\4\0\3\21"+
216+
"\4\0\10\21\1\101\13\21\4\0\2\52\2\0\1\52"+
217+
"\1\0\20\52\1\0\6\52\1\0\32\52\21\0\1\102"+
218+
"\20\0\1\103\1\104\3\0\1\105\1\0\1\106\1\105"+
219+
"\4\0\1\107\1\0\1\110\13\0\1\111\3\0\1\111"+
220+
"\14\0\1\111\6\0\1\111\3\0\2\111\3\0\1\111"+
221+
"\5\0\1\111\1\0\1\111\1\0\1\111\1\0\1\111"+
222+
"\26\0\1\112\70\0\2\61\6\0\1\113\1\114\16\0"+
223+
"\1\113\37\0\2\61\6\0\1\113\17\0\1\113\31\0"+
224+
"\1\115\53\0\2\63\1\116\1\117\64\63\20\0\1\21"+
225+
"\1\0\2\120\1\21\4\0\1\120\2\21\4\0\1\21"+
226+
"\6\120\15\21\24\0\1\21\1\0\2\121\1\21\4\0"+
227+
"\3\21\4\0\24\21\24\0\1\21\1\0\3\21\4\0"+
228+
"\3\21\4\0\12\21\1\122\4\21\1\123\4\21\24\0"+
229+
"\1\21\1\0\3\21\4\0\3\21\4\0\6\21\1\124"+
230+
"\15\21\24\0\1\21\1\0\3\21\4\0\3\21\4\0"+
231+
"\17\21\1\125\4\21\24\0\1\21\1\0\3\21\4\0"+
232+
"\3\21\4\0\12\21\1\126\11\21\24\0\1\21\1\0"+
233+
"\3\21\4\0\3\21\4\0\12\21\1\127\11\21\24\0"+
234+
"\1\21\1\0\3\21\4\0\3\21\4\0\20\21\1\130"+
235+
"\3\21\24\0\1\21\1\0\3\21\4\0\3\21\4\0"+
236+
"\21\21\1\131\2\21\24\0\1\21\1\0\3\21\4\0"+
237+
"\3\21\4\0\11\21\1\132\12\21\47\0\1\133\13\0"+
238+
"\1\134\1\0\1\135\64\0\1\135\66\0\1\136\72\0"+
239+
"\1\135\62\0\1\137\64\0\1\140\7\0\1\141\36\0"+
240+
"\1\142\1\143\61\0\2\144\5\0\1\144\7\0\6\144"+
241+
"\42\0\1\145\50\0\1\116\105\0\1\21\1\0\2\120"+
242+
"\1\21\4\0\1\120\1\64\1\21\4\0\1\21\6\120"+
243+
"\3\21\1\64\11\21\24\0\1\21\1\0\2\121\1\21"+
244+
"\4\0\3\21\4\0\1\146\23\21\24\0\1\21\1\0"+
245+
"\3\21\4\0\3\21\4\0\3\21\1\147\20\21\24\0"+
246+
"\1\21\1\0\3\21\4\0\3\21\4\0\5\21\1\150"+
247+
"\16\21\24\0\1\21\1\0\3\21\4\0\3\21\4\0"+
248+
"\1\21\1\151\22\21\24\0\1\21\1\0\3\21\4\0"+
249+
"\3\21\4\0\5\21\1\152\16\21\24\0\1\21\1\0"+
250+
"\3\21\4\0\3\21\4\0\17\21\1\153\4\21\24\0"+
251+
"\1\21\1\0\3\21\4\0\3\21\4\0\12\21\1\154"+
252+
"\11\21\24\0\1\21\1\0\3\21\4\0\3\21\4\0"+
253+
"\21\21\1\155\2\21\24\0\1\21\1\0\3\21\4\0"+
254+
"\3\21\4\0\5\21\1\156\16\21\24\0\1\21\1\0"+
255+
"\3\21\4\0\3\21\4\0\12\21\1\157\11\21\61\0"+
256+
"\1\160\62\0\1\161\7\0\1\103\37\0\1\143\111\0"+
257+
"\1\162\64\0\1\163\61\0\1\164\104\0\1\110\33\0"+
258+
"\2\165\5\0\1\165\7\0\6\165\43\0\2\144\5\0"+
259+
"\1\144\1\113\6\0\6\144\3\0\1\113\35\0\1\21"+
260+
"\1\0\2\166\1\21\4\0\3\21\4\0\24\21\24\0"+
261+
"\1\21\1\0\3\21\4\0\3\21\4\0\21\21\1\167"+
262+
"\2\21\24\0\1\21\1\0\3\21\4\0\3\21\4\0"+
263+
"\5\21\1\170\16\21\24\0\1\21\1\0\3\21\4\0"+
264+
"\3\21\4\0\16\21\1\171\5\21\24\0\1\21\1\0"+
265+
"\3\21\4\0\3\21\4\0\5\21\1\172\16\21\56\0"+
266+
"\1\135\56\0\1\173\55\0\1\142\67\0\1\174\104\0"+
267+
"\1\162\45\0\2\165\4\0\1\143\1\165\7\0\6\165"+
268+
"\41\0\1\21\1\0\2\166\1\21\4\0\3\21\4\0"+
269+
"\1\175\23\21\24\0\1\21\1\0\3\21\4\0\3\21"+
270+
"\4\0\12\21\1\176\11\21\24\0\1\21\1\0\3\21"+
271+
"\4\0\3\21\4\0\14\21\1\177\7\21\50\0\1\135"+
272+
"\45\0\2\200\64\0\1\21\1\0\2\201\1\21\4\0"+
273+
"\3\21\4\0\24\21\24\0\1\21\1\0\3\21\4\0"+
274+
"\3\21\4\0\20\21\1\202\3\21\26\0\2\200\4\0"+
275+
"\1\143\57\0\1\21\1\0\2\201\1\21\4\0\3\21"+
276+
"\4\0\1\203\23\21\24\0\1\21\1\0\2\204\1\21"+
277+
"\4\0\3\21\4\0\24\21\4\0";
295278

296279
private static int [] zzUnpacktrans() {
297-
int [] result = new int[5152];
280+
int [] result = new int[4984];
298281
int offset = 0;
299282
offset = zzUnpacktrans(ZZ_TRANS_PACKED_0, offset, result);
300283
return result;
@@ -334,12 +317,12 @@ private static int zzUnpacktrans(String packed, int offset, int [] result) {
334317
private static final String ZZ_ATTRIBUTE_PACKED_0 =
335318
"\3\0\12\11\1\1\1\11\6\1\1\11\1\1\1\11"+
336319
"\1\1\3\11\11\1\4\11\1\1\1\11\2\1\1\11"+
337-
"\6\1\1\0\3\1\2\11\11\1\7\0\3\11\1\0"+
320+
"\4\1\1\0\3\1\2\11\11\1\7\0\3\11\1\0"+
338321
"\1\1\1\11\14\1\7\0\1\1\1\11\1\1\1\11"+
339322
"\12\1\6\0\5\1\1\0\4\1\1\0\4\1";
340323

341324
private static int [] zzUnpackAttribute() {
342-
int [] result = new int[134];
325+
int [] result = new int[132];
343326
int offset = 0;
344327
offset = zzUnpackAttribute(ZZ_ATTRIBUTE_PACKED_0, offset, result);
345328
return result;
@@ -668,13 +651,13 @@ else if (zzAtEOF) {
668651
popState();
669652
return state == DOC_COMMENT ? RsTokenTypes.DOC_COMMENT : RsTokenTypes.BLOCK_COMMENT;
670653
} // fall though
671-
case 135: break;
654+
case 133: break;
672655
case DOC_COMMENT: {
673656
int state = yystate();
674657
popState();
675658
return state == DOC_COMMENT ? RsTokenTypes.DOC_COMMENT : RsTokenTypes.BLOCK_COMMENT;
676659
} // fall though
677-
case 136: break;
660+
case 134: break;
678661
default:
679662
return null;
680663
}

src/main/grammars/RuneScript.flex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ this.lexerInfo = lexerInfo;
4242
%function advance
4343
%type IElementType
4444
LINE_COMMENT = "//"([^\r\n]*)(\r|\n|\r\n)
45-
IDENTIFIER_PART = [a-zA-Z0-9_+\.:]
45+
IDENTIFIER_PART = [a-zA-Z0-9_\.:]
4646
IDENTIFIER = ({IDENTIFIER_PART})+
4747
DECIMAL_DIGIT = [0-9]
4848
HEX_DIGIT = [0-9a-fA-F]

0 commit comments

Comments
 (0)