We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b11c121 commit 8f2b978Copy full SHA for 8f2b978
1 file changed
parser/simai/Simai.g4
@@ -20,11 +20,10 @@ NO_STAR: '?' | '!';
20
KEY: [1-8];
21
SLIDE_TYPE: '-' | 'v' | '<' | '>' | '^' | 'p' | 'q' | 'pp' | 'qq' | 's' | 'z' | 'w' | 'V' KEY; // 只有V后面需要多跟一个键位号
22
TOUCH_AREA: 'A' [1-8] | 'B' [1-8] | 'C' [1-2]? | 'D' [1-8] | 'E' [1-8];
23
+INT: [0-9];
24
-INT: [0-9]+;
25
-FLOAT: [0-9]+ ('.' [0-9]+)?;
26
-number: KEY | INT | FLOAT;
27
-int: KEY | INT;
+int: (KEY | INT)+;
+number: int ('.' int)?;
28
29
CHART_END: 'E';// 谱面结束那个E
30
0 commit comments