forked from GitHub/gf-core
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