Changed the occam parser to parse SIZE followed by a variable into the new VariableSizes item
This commit is contained in:
parent
3876c1b6e9
commit
c46346ffa2
|
@ -765,7 +765,7 @@ sizeExpr
|
|||
<|> do v <- operand
|
||||
return $ A.SizeExpr m v
|
||||
<|> do v <- (directedChannel <|> timer <|> port)
|
||||
return $ A.SizeVariable m v
|
||||
return $ A.ExprVariable m $ specificDimSize 0 v
|
||||
<?> "SIZE expression"
|
||||
|
||||
functionCall :: OccParser A.Expression
|
||||
|
|
Loading…
Reference in New Issue
Block a user