From 6f7f87699c509131ab5ffff330ba77abbd58e829 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 15 Feb 2009 16:34:34 -0400 Subject: Parse '/' in an operator context as "div" --- src/token.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/token.h') diff --git a/src/token.h b/src/token.h index 55e222ba..d0b65ded 100644 --- a/src/token.h +++ b/src/token.h @@ -80,7 +80,8 @@ struct expr_t::token_t : public noncopyable MINUS, // - PLUS, // + STAR, // * - KW_DIV, // / + SLASH, // / + KW_DIV, // div EXCLAM, // !, not KW_AND, // &, &&, and -- cgit v1.2.3