Struct Parsing started
This commit is contained in:
parent
f1599d6860
commit
d1d9846a99
8 changed files with 206 additions and 17 deletions
11
src/Data/String/Ubc/Parse/Error/StructError.hs
Normal file
11
src/Data/String/Ubc/Parse/Error/StructError.hs
Normal file
|
@ -0,0 +1,11 @@
|
|||
module Data.String.Ubc.Parse.Error.StructError
|
||||
( StructError(..)
|
||||
)
|
||||
where
|
||||
|
||||
import Text.Parsec (SourcePos)
|
||||
|
||||
data StructError =
|
||||
MissingNameError SourcePos
|
||||
| MissingBraceError (Either SourcePos SourcePos)
|
||||
-- the either branch indicates which one is missing
|
Loading…
Add table
Add a link
Reference in a new issue