commit 3a9fb8c8ff466de012cadf37bf34caf5cee84029
parent 66acffa599b36cfd552ad5ccd2d8559e3ea1db2b
Author: Tomas Hlavaty <tom@logand.com>
Date: Tue, 6 Dec 2011 20:43:23 +0100
use words for and, or, xor when printing
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/scan.ll b/scan.ll
@@ -51,9 +51,9 @@ IDENTIFIER ("_"?({ALPHA}|{DIGIT})+)*
"*" return tok(MUL, "*");
"/" return tok(DIV, "/");
"%" return tok(MOD, "%");
-"|" return tok(OR, "|");
-"^" return tok(XOR, "^");
-"&" return tok(AND, "&");
+"|" return tok(OR, "or");
+"^" return tok(XOR, "xor");
+"&" return tok(AND, "and");
"<<" return tok(LSHIFT, "<<");
">>" return tok(RSHIFT, ">>");
"~" return tok(NOT, "~");