Struct Parsing started

This commit is contained in:
vegowotenks 2024-12-31 09:30:13 +01:00
parent f1599d6860
commit d1d9846a99
8 changed files with 206 additions and 17 deletions

View 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