aboutsummaryrefslogtreecommitdiffstats
path: root/symbol.c
diff options
context:
space:
mode:
Diffstat (limited to 'symbol.c')
-rw-r--r--symbol.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/symbol.c b/symbol.c
index 17954153f3..d4d7b5e98c 100644
--- a/symbol.c
+++ b/symbol.c
@@ -51,6 +51,8 @@ static ID register_static_symid_str(ID, VALUE);
#define tLSHFT RUBY_TOKEN(LSHFT)
#define tRSHFT RUBY_TOKEN(RSHFT)
#define tCOLON2 RUBY_TOKEN(COLON2)
+#define tANDOP RUBY_TOKEN(ANDOP)
+#define tOROP RUBY_TOKEN(OROP)
static const struct {
unsigned short token;
@@ -74,6 +76,8 @@ static const struct {
{tLSHFT, "<<"},
{tRSHFT, ">>"},
{tCOLON2, "::"},
+ {tANDOP, "&&"},
+ {tOROP, "||"},
};
#define op_tbl_count numberof(op_tbl)