From 4f3f3c9102e5a344c4fb63136661047e43349f19 Mon Sep 17 00:00:00 2001 From: Johannes Mey <johannes.mey@tu-dresden.de> Date: Sun, 20 Feb 2022 16:52:32 +0100 Subject: [PATCH] all java types are valid relast types. fixes #20 --- src/main/grammar/Grammar.flex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/grammar/Grammar.flex b/src/main/grammar/Grammar.flex index 43ff67a..cd7b521 100644 --- a/src/main/grammar/Grammar.flex +++ b/src/main/grammar/Grammar.flex @@ -18,7 +18,7 @@ import com.intellij.psi.TokenType; WhiteSpace = [ ] | \t | \f | \n | \r | \r\n -ID = [a-zA-Z$_][a-zA-Z0-9$_]* +ID = [:jletter:] [:jletterdigit:]* MultiLineComment = [/][*][^*]+[*]+([^*/][^*]*[*]+)*[/] DocComment = [/][*][*][^*]*[*]+([^*/][^*]*[*]+)*[/] SingleLineComment = [/][/] [^\n\r]* (\n | \r | \r\n) -- GitLab