Skip to content

Commit 8f2b978

Browse files
committed
[F] 不带斜杠的tap双押
1 parent b11c121 commit 8f2b978

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

parser/simai/Simai.g4

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,10 @@ NO_STAR: '?' | '!';
2020
KEY: [1-8];
2121
SLIDE_TYPE: '-' | 'v' | '<' | '>' | '^' | 'p' | 'q' | 'pp' | 'qq' | 's' | 'z' | 'w' | 'V' KEY; // 只有V后面需要多跟一个键位号
2222
TOUCH_AREA: 'A' [1-8] | 'B' [1-8] | 'C' [1-2]? | 'D' [1-8] | 'E' [1-8];
23+
INT: [0-9];
2324

24-
INT: [0-9]+;
25-
FLOAT: [0-9]+ ('.' [0-9]+)?;
26-
number: KEY | INT | FLOAT;
27-
int: KEY | INT;
25+
int: (KEY | INT)+;
26+
number: int ('.' int)?;
2827

2928
CHART_END: 'E';// 谱面结束那个E
3029

0 commit comments

Comments
 (0)