aboutsummaryrefslogtreecommitdiffstats
path: root/symbol.c
diff options
context:
space:
mode:
Diffstat (limited to 'symbol.c')
-rw-r--r--symbol.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/symbol.c b/symbol.c
index 6512344441..17954153f3 100644
--- a/symbol.c
+++ b/symbol.c
@@ -50,6 +50,7 @@ static ID register_static_symid_str(ID, VALUE);
#define tASET RUBY_TOKEN(ASET)
#define tLSHFT RUBY_TOKEN(LSHFT)
#define tRSHFT RUBY_TOKEN(RSHFT)
+#define tCOLON2 RUBY_TOKEN(COLON2)
static const struct {
unsigned short token;
@@ -72,6 +73,7 @@ static const struct {
{tASET, "[]="},
{tLSHFT, "<<"},
{tRSHFT, ">>"},
+ {tCOLON2, "::"},
};
#define op_tbl_count numberof(op_tbl)