Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
We have upgraded GitLab to 15.1. Due to major code changes GitLab was down for some time.
Open sidebar
i7
peregrine
Commits
00c2197e
Commit
00c2197e
authored
Jul 09, 2014
by
Philipp Meyer
Browse files
Fixed lola formula parsing of identifiers
parent
6ff24ee6
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/Main.hs
View file @
00c2197e
...
...
@@ -137,7 +137,6 @@ checkFile parser verbosity refine implicitProperties file = do
"Places: "
++
show
(
length
$
places
net
)
++
"
\n
"
++
"Transitions: "
++
show
(
length
$
transitions
net
)
addedProperties
<-
mapM
(
makeImplicitProperty
net
)
implicitProperties
print
properties
rs
<-
mapM
(
checkProperty
verbosity
net
refine
)
(
addedProperties
++
properties
)
verbosePut
verbosity
0
""
...
...
src/Parser/LOLAFormula.hs
View file @
00c2197e
...
...
@@ -18,8 +18,8 @@ languageDef =
Token
.
commentStart
=
"{"
,
Token
.
commentEnd
=
"}"
,
Token
.
commentLine
=
""
,
Token
.
identStart
=
noneOf
",;:(){}
\t
\n\r
0123456789"
,
Token
.
identLetter
=
noneOf
",;:(){}
\t
\n\r
0123456789
"
,
Token
.
identStart
=
noneOf
",;:(){}
\t
\n\r
0123456789
-
"
,
Token
.
identLetter
=
noneOf
",;:(){}
\t
\n\r
"
,
Token
.
reservedNames
=
[
"FORMULA"
,
"TRUE"
,
"FALSE"
,
"NOT"
,
"AND"
,
"OR"
],
Token
.
reservedOpNames
=
[
"<"
,
"<="
,
"="
,
"!="
,
">="
,
">"
,
...
...
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