From 5d29c7df61add8b55829949d895d5891d25202da Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Sat, 12 Oct 2019 18:45:07 +1100 Subject: [PATCH] Remove unused token.IDDollar --- lang/token/list.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lang/token/list.go b/lang/token/list.go index a2df3daf..3ae1a653 100644 --- a/lang/token/list.go +++ b/lang/token/list.go @@ -225,7 +225,6 @@ const ( IDExclam = ID(0x0C) IDQuestion = ID(0x0D) IDColon = ID(0x0E) - IDDollar = ID(0x0F) ) const ( @@ -621,7 +620,6 @@ var builtInsByID = [nBuiltInIDs]string{ IDQuestion: "?", IDColon: ":", IDSemicolon: ";", - IDDollar: "$", IDPlusEq: "+=", IDMinusEq: "-=", @@ -958,7 +956,6 @@ var squiggles = [256]ID{ '?': IDQuestion, ':': IDColon, ';': IDSemicolon, - '$': IDDollar, } type suffixLexer struct { @@ -1191,5 +1188,4 @@ var isTightRight = [...]bool{ IDExclam: true, IDQuestion: true, IDColon: true, - IDDollar: true, }