diff --git a/bootstrap.fs b/bootstrap.fs index 3fa2d9e..aa1598b 100644 --- a/bootstrap.fs +++ b/bootstrap.fs @@ -1177,6 +1177,8 @@ decimal \ set default to decimal 'v' of 11 endof 'f' of 12 endof 'r' of 13 endof + [char] ' of [char] ' endof + [char] " of [char] " endof '\\' of '\\' endof drop -1 endcase diff --git a/test/core.fs b/test/core.fs index 8d77ca5..7ff3170 100644 --- a/test/core.fs +++ b/test/core.fs @@ -614,6 +614,9 @@ T{ char HELLO -> 48 }T T{ '\n' -> 0xa }T T{ '\0' -> 0 }T T{ 'a' -> 61 }T +T{ '"' -> 22 }T +T{ '\"' -> 22 }T +T{ '\'' -> 27 }T T{ : gc1 [char] X ; -> }T T{ : gc2 [char] HELLO ; -> }T T{ gc1 -> 58 }T