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
Anders Blomdell
LabComm
Commits
0db2f8ce
Commit
0db2f8ce
authored
May 12, 2015
by
Sven Gestegård Robertz
Browse files
added underscore to valid chars for identifier
Conflicts: compiler/2014/LabCommScanner.flex
parent
991de20e
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/2014/LabCommScanner.flex
View file @
0db2f8ce
...
...
@@ -44,7 +44,7 @@ Comment = {TraditionalComment}
TraditionalComment
=
"/*"
[^*]
~
"*/"
|
"/*"
"*"
+
"/"
|
"/*"
"*"
+
[^/*]
~
"*/"
EndOfLineComment
=
"//"
{
InputCharacter
}*
{
LineTerminator
}?
Identifier
=
[:
j
letter
:][:
j
letterdigit
:]*
Identifier
=
[
[
:
letter
:]
_
]([
[:
letter
:]
_
[:
digit
:]
])
*
DecimalNumeral
=
0
|
{
NonZeroDigit
}
{
Digits
}?
Digits
=
{
Digit
}+
...
...
Write
Preview
Supports
Markdown
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