diff options
Diffstat (limited to 'internal')
-rw-r--r-- | internal/parse.go | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/internal/parse.go b/internal/parse.go index 895c930..cefcca0 100644 --- a/internal/parse.go +++ b/internal/parse.go @@ -148,7 +148,7 @@ func (t RuneType) String() string { RuneTypeArrayComma: "a", RuneTypeArrayEnd: "]", - RuneTypeStringBeg: "โ", + RuneTypeStringBeg: "\"", RuneTypeStringChar: "c", RuneTypeStringEsc: "\\", RuneTypeStringEsc1: "b", @@ -157,7 +157,7 @@ func (t RuneType) String() string { RuneTypeStringEscUB: "B", RuneTypeStringEscUC: "C", RuneTypeStringEscUD: "D", - RuneTypeStringEnd: "โ", + RuneTypeStringEnd: "ยป", RuneTypeNumberIntNeg: "-", RuneTypeNumberIntZero: "0", @@ -234,7 +234,7 @@ type Parser struct { // // The "normal"stack-relevant RuneTypes are: // - // โ\uABC for strings + // "\uABC for strings // -01.2e+3 for numbers // ๐ฅ๐ฃ๐ฆ for "true" // ๐ฃ๐๐ฉ๐ฐ for "false" @@ -244,7 +244,7 @@ type Parser struct { // rule; they need some special assignments: // // { object: waiting for key to start or '}' - // โ object: reading key / waiting for colon + // ยป object: reading key / waiting for colon // : object: waiting for value to start // o object: reading value / waiting for ',' or '}' // @@ -263,20 +263,20 @@ type Parser struct { // stack processed // x // { { - // โโ {" - // โโ {"x - // โ {"x" + // ยป" {" + // ยป" {"x + // ยป {"x" // : {"x": - // oโ {"x":" - // oโ {"x":"y + // o" {"x":" + // o" {"x":"y // o {"x":"y" // { {"x":"y", - // โโ {"x":"y"," - // โโ {"x":"y","a - // โ {"x":"y","a" + // ยป" {"x":"y"," + // ยป" {"x":"y","a + // ยป {"x":"y","a" // : {"x":"y","a": - // oโ {"x":"y","a":" - // oโ {"x":"y","a":"b + // o" {"x":"y","a":" + // o" {"x":"y","a":"b // o {"x":"y","a":"b" // {"x":"y","a":"b"} stack []RuneType |