mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
fix parsing of literals
This commit is contained in:
@@ -4,5 +4,7 @@ abstract Literals = {
|
||||
fun IsString : String -> S ;
|
||||
IsInteger : Int -> S ;
|
||||
IsFloat : Float -> S ;
|
||||
|
||||
IsEq : Int -> S ;
|
||||
|
||||
}
|
||||
@@ -5,5 +5,6 @@ lincat S = Str ;
|
||||
lin IsString x = x.s ++ "is string" ;
|
||||
lin IsInteger x = x.s ++ "is integer" ;
|
||||
lin IsFloat x = x.s ++ "is float" ;
|
||||
lin IsEq x = x.s ++ "=" ++ x.s ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user