Skip to content

Commit

Permalink
Remove unused token TOKdotexp
Browse files Browse the repository at this point in the history
  • Loading branch information
9rnsr committed Dec 4, 2015
1 parent f8b8f70 commit f69caf7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 14 deletions.
13 changes: 5 additions & 8 deletions src/tokens.d
Expand Up @@ -53,7 +53,6 @@ enum TOK : int
TOKdotvar,
TOKdotid,
TOKdotti,
TOKdotexp,
TOKdottype,
TOKslice,
TOKarraylength,
Expand All @@ -79,7 +78,7 @@ enum TOK : int
TOKdelegateptr,
TOKdelegatefuncptr,

// 55
// 54
// Operators
TOKlt,
TOKgt,
Expand All @@ -93,7 +92,7 @@ enum TOK : int
TOKis,
TOKtobool,

// 66
// 65
// NCEG floating point compares
// !<>= <> <>= !> !>= !< !<= !<>
TOKunord,
Expand All @@ -105,7 +104,7 @@ enum TOK : int
TOKug,
TOKue,

// 74
// 73
TOKshl,
TOKshr,
TOKshlass,
Expand Down Expand Up @@ -146,7 +145,7 @@ enum TOK : int
TOKpreplusplus,
TOKpreminusminus,

// 113
// 112
// Numeric literals
TOKint32v,
TOKuns32v,
Expand Down Expand Up @@ -202,7 +201,7 @@ enum TOK : int
TOKdchar,
TOKbool,

// 160
// 159
// Aggregates
TOKstruct,
TOKclass,
Expand Down Expand Up @@ -332,7 +331,6 @@ alias TOKvar = TOK.TOKvar;
alias TOKdotvar = TOK.TOKdotvar;
alias TOKdotid = TOK.TOKdotid;
alias TOKdotti = TOK.TOKdotti;
alias TOKdotexp = TOK.TOKdotexp;
alias TOKdottype = TOK.TOKdottype;
alias TOKslice = TOK.TOKslice;
alias TOKarraylength = TOK.TOKarraylength;
Expand Down Expand Up @@ -686,7 +684,6 @@ extern (C++) struct Token
Token.tochars[TOKdottd] = "dottd";
Token.tochars[TOKdotti] = "dotti";
Token.tochars[TOKdotvar] = "dotvar";
Token.tochars[TOKdotexp] = "dotexp";
Token.tochars[TOKdottype] = "dottype";
Token.tochars[TOKsymoff] = "symoff";
Token.tochars[TOKarraylength] = "arraylength";
Expand Down
12 changes: 6 additions & 6 deletions src/tokens.h
Expand Up @@ -56,7 +56,7 @@ enum TOK
TOKnew, TOKdelete,
TOKstar, TOKsymoff,
TOKvar, TOKdotvar,
TOKdotid, TOKdotti, TOKdotexp,
TOKdotid, TOKdotti,
TOKdottype, TOKslice,
TOKarraylength, TOKversion,
TOKmodule, TOKdollar,
Expand All @@ -73,7 +73,7 @@ enum TOK
TOKdelegateptr,
TOKdelegatefuncptr,

// 55
// 54
// Operators
TOKlt, TOKgt,
TOKle, TOKge,
Expand All @@ -82,12 +82,12 @@ enum TOK
TOKindex, TOKis,
TOKtobool,

// 66
// 65
// NCEG floating point compares
// !<>= <> <>= !> !>= !< !<= !<>
TOKunord,TOKlg,TOKleg,TOKule,TOKul,TOKuge,TOKug,TOKue,

// 74
// 73
TOKshl, TOKshr,
TOKshlass, TOKshrass,
TOKushr, TOKushrass,
Expand All @@ -103,7 +103,7 @@ enum TOK
TOKquestion, TOKandand, TOKoror,
TOKpreplusplus, TOKpreminusminus,

// 113
// 112
// Numeric literals
TOKint32v, TOKuns32v,
TOKint64v, TOKuns64v,
Expand Down Expand Up @@ -132,7 +132,7 @@ enum TOK
TOKcomplex32, TOKcomplex64, TOKcomplex80,
TOKchar, TOKwchar, TOKdchar, TOKbool,

// 160
// 159
// Aggregates
TOKstruct, TOKclass, TOKinterface, TOKunion, TOKenum, TOKimport,
TOKtypedef, TOKalias, TOKoverride, TOKdelegate, TOKfunction,
Expand Down

0 comments on commit f69caf7

Please sign in to comment.