aboutsummaryrefslogtreecommitdiff
path: root/il-opcodes.h
diff options
context:
space:
mode:
authorjiang <30155751@qq.com>2014-06-29 20:35:57 +0800
committerjiang <30155751@qq.com>2014-06-29 20:35:57 +0800
commita3fc54345949535524d01319e1ca6378b7c2c201 (patch)
treef5f3a7fe3562152548680baff74f0ef6e17395f2 /il-opcodes.h
parent799512388c65485076e0ff380f694a20b65e272a (diff)
downloadtinycc-a3fc54345949535524d01319e1ca6378b7c2c201.tar.gz
tinycc-a3fc54345949535524d01319e1ca6378b7c2c201.tar.bz2
bug:
---------------------------------------------------------------------- #define hexCh(c (c >= 10 ? 'a' + c - 10 : '0' + c) hexCh(c); out: jiang@jiang:~/test$ ./tcc -E c4.c # 1 "c4.c" (c >= 10 ? 'a' + c - 10 : '0' + c); --------------------------------------------------------------- #define hexCh(c/3) (c >= 10 ? 'a' + c - 10 : '0' + c) hexCh(c); out: jiang@jiang:~/test$ ./tcc -E c4.c # 1 "c4.c" /3) (c >= 10 ? 'a' + c - 10 : '0' + c); jiang@jiang:~/test$ after patch: # 1 "c4.c" c4.c:1: error: may not appear in macro parameter list: "(" jiang@jiang:~/test$ jiang@jiang:~/test$ ./tcc -E c4.c # 1 "c4.c" c4.c:1: error: may not appear in macro parameter list: "/" jiang@jiang:~/test$
Diffstat (limited to 'il-opcodes.h')
0 files changed, 0 insertions, 0 deletions