Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
JastAdd
relational-rags
Commits
7e1a727f
Commit
7e1a727f
authored
Jan 09, 2020
by
René Schöne
Browse files
Fix end-of-line-comment bug.
parent
430300f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/jastadd/RelAst.flex
View file @
7e1a727f
...
...
@@ -37,7 +37,7 @@ import org.jastadd.relast.parser.RelAstParser.Terminals;
WhiteSpace
=
[
]
|
\
t
|
\
f
|
\
n
|
\
r
|
\
r
\
n
TraditionalComment
=
[/][*][^*]*[*]+([^*/][^*]*[*]+)*[/]
EndOfLineComment
=
"//"
[^\
n
|
\
r
|\
r
\
n
]*
EndOfLineComment
=
"//"
[^\
n
\
r
]*
Comment
=
{
TraditionalComment
}
|
{
EndOfLineComment
}
ID
=
[
a
-
zA
-
Z
$
_
][
a
-
zA
-
Z0
-
9
$
_
]*
...
...
René Schöne
@rschoene
mentioned in issue
#19 (closed)
·
Jan 10, 2020
mentioned in issue
#19 (closed)
mentioned in issue #19
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment