Make "PORT" work for "PORT OF".

This commit is contained in:
Adam Sampson 2008-06-11 13:18:54 +00:00
parent 87848ad7db
commit f102d8e7ef

View File

@ -532,7 +532,7 @@ timerType
portType :: OccParser A.Type
portType
= do { sPORT; sOF; p <- dataType; return $ A.Port p }
= do { sPORT; optional sOF; p <- dataType; return $ A.Port p }
<|> arrayType portType
<?> "port type"
--}}}