mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 08:47:28 +01:00
Rename "!=" to "<>"; "!" now only shows impurity
This commit is contained in:
1 parent
f8d02cfb16
commit
ef7aa0d980
11 files changed
+82
-83
No files matched your search
+3
-5
@@ -659,7 +659,7 @@ var builtInsByID = [nBuiltInIDs]string{
|
||||
IDTildeSatPlus: "~sat+",
|
||||
IDTildeSatMinus: "~sat-",
|
||||
|
||||
IDNotEq: "!=",
|
||||
IDNotEq: "<>",
|
||||
IDLessThan: "<",
|
||||
IDLessEq: "<=",
|
||||
IDEqEq: "==",
|
||||
@@ -954,6 +954,7 @@ var squiggles = [256]ID{
|
||||
'}': IDCloseCurly,
|
||||
|
||||
',': IDComma,
|
||||
'!': IDExclam,
|
||||
'?': IDQuestion,
|
||||
':': IDColon,
|
||||
';': IDSemicolon,
|
||||
@@ -975,10 +976,6 @@ var lexers = [256][]suffixLexer{
|
||||
{".", IDDotDot},
|
||||
{"", IDDot},
|
||||
},
|
||||
'!': {
|
||||
{"=", IDNotEq},
|
||||
{"", IDExclam},
|
||||
},
|
||||
'&': {
|
||||
{"=", IDAmpEq},
|
||||
{"", IDAmp},
|
||||
@@ -1020,6 +1017,7 @@ var lexers = [256][]suffixLexer{
|
||||
{"<=", IDShiftLEq},
|
||||
{"<", IDShiftL},
|
||||
{"=", IDLessEq},
|
||||
{">", IDNotEq},
|
||||
{"", IDLessThan},
|
||||
},
|
||||
'>': {
|
||||
|
||||
Reference in new issue
Block a user