aboutsummaryrefslogtreecommitdiff
path: root/token
diff options
context:
space:
mode:
authorDimitri Sokolyuk <sokolyuk@gmail.com>2022-08-24 14:16:17 +0200
committerDimitri Sokolyuk <sokolyuk@gmail.com>2022-08-24 14:16:17 +0200
commit52be3f62da85d2e6a4bba77c234b181a14354523 (patch)
treebee25a59fe001bce71e0d8e07997033845b790d7 /token
parentcb3d5e76156cb87d14f048c1ef651b9674e865a5 (diff)
cleanup
Diffstat (limited to 'token')
-rw-r--r--token/token.go2
-rw-r--r--token/tokentype_string.go6
2 files changed, 4 insertions, 4 deletions
diff --git a/token/token.go b/token/token.go
index ab33563..573483e 100644
--- a/token/token.go
+++ b/token/token.go
@@ -23,7 +23,7 @@ const (
LESS // "<"
MORE // ">"
EQ // "=="
- NOT_EQ // "!="
+ NOTEQ // "!="
// Delimiters
COMMA // ","
diff --git a/token/tokentype_string.go b/token/tokentype_string.go
index 2245135..44b2c70 100644
--- a/token/tokentype_string.go
+++ b/token/tokentype_string.go
@@ -22,7 +22,7 @@ func _() {
_ = x[LESS-11]
_ = x[MORE-12]
_ = x[EQ-13]
- _ = x[NOT_EQ-14]
+ _ = x[NOTEQ-14]
_ = x[COMMA-15]
_ = x[SEMICOLON-16]
_ = x[COLON-17]
@@ -42,9 +42,9 @@ func _() {
_ = x[MACRO-31]
}
-const _TokenType_name = "ILLEGALEOFIDENTINTEGERSTRINGASSIGNPLUSMINUSBANGASTERISKSLASHLESSMOREEQNOT_EQCOMMASEMICOLONCOLONLPARENRPARENLBRACERBRACELBRACKETRBRACKETFUNCTIONLETTRUEFALSEIFELSERETURNMACRO"
+const _TokenType_name = "ILLEGALEOFIDENTINTEGERSTRINGASSIGNPLUSMINUSBANGASTERISKSLASHLESSMOREEQNOTEQCOMMASEMICOLONCOLONLPARENRPARENLBRACERBRACELBRACKETRBRACKETFUNCTIONLETTRUEFALSEIFELSERETURNMACRO"
-var _TokenType_index = [...]uint8{0, 7, 10, 15, 22, 28, 34, 38, 43, 47, 55, 60, 64, 68, 70, 76, 81, 90, 95, 101, 107, 113, 119, 127, 135, 143, 146, 150, 155, 157, 161, 167, 172}
+var _TokenType_index = [...]uint8{0, 7, 10, 15, 22, 28, 34, 38, 43, 47, 55, 60, 64, 68, 70, 75, 80, 89, 94, 100, 106, 112, 118, 126, 134, 142, 145, 149, 154, 156, 160, 166, 171}
func (i TokenType) String() string {
if i < 0 || i >= TokenType(len(_TokenType_index)-1) {