11.3.2021, 9:00 - 11:00: Due to updates GitLab may be unavailable for some minutes between 09:00 and 11:00.

Commit 00c2197e authored by Philipp Meyer's avatar Philipp Meyer

Fixed lola formula parsing of identifiers

parent 6ff24ee6
......@@ -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 ""
......
......@@ -18,8 +18,8 @@ languageDef =
Token.commentStart = "{",
Token.commentEnd = "}",
Token.commentLine = "",
Token.identStart = noneOf ",;:(){}\t \n\r0123456789",
Token.identLetter = noneOf ",;:(){}\t \n\r0123456789",
Token.identStart = noneOf ",;:(){}\t \n\r0123456789-",
Token.identLetter = noneOf ",;:(){}\t \n\r",
Token.reservedNames = ["FORMULA", "TRUE", "FALSE",
"NOT", "AND", "OR"],
Token.reservedOpNames = ["<", "<=", "=", "!=", ">=", ">",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment