grammars-v4
grammars-v4 copied to clipboard
Haskell/Haskell.g4, parseing error for an import statement
When parsing an unpassed code segment from RosettaCode I got an error on a normal statement in the first line:
line 1:18 no viable alternative at input 'import Data.List (group'
The others went well like a passed segment
I wonder why this simple import statement below can not pass the generated parser
import Data.List (group)
My ANTLR version: v4.9.3