mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 04:10:47 +00:00
This commit is contained in:
@@ -203,7 +203,7 @@ RegExp = \/([^\r\n/]|\\\/)+\/[a-z]*
|
||||
|
||||
|
||||
{RegExp} {
|
||||
if (prevToken == null || prevToken.type == TokenType.OPERATOR) {
|
||||
if (prevToken == null || (prevToken.type == TokenType.OPERATOR && prevToken.pairValue >= 0)) {
|
||||
return token(TokenType.REGEX);
|
||||
} else {
|
||||
int ch = yychar;
|
||||
|
||||
Reference in New Issue
Block a user