summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/parse.go28
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