Pretty printing of the limited stuff that's there.

This commit is contained in:
2016-06-09 19:02:14 -07:00
parent e5bb88aa4e
commit 89a7df58e5
3 changed files with 62 additions and 14 deletions

View File

@@ -143,7 +143,7 @@ declaration :: { Maybe Declaration }
do let Located src (TypeIdent rawName) = $3
Located _ (StringTok rawText) = $5
name <- registerName False src TypeEnv rawName
return (Just (PrimTypeDecl (PrimType name rawText))) }
return (Just (PrimTypeDeclaration name rawText)) }
Type :: { Type }
: TypeIdent {%