|
From: | jiang |
Subject: | [Tinycc-devel] Request push |
Date: | Mon, 23 Jun 2014 23:56:10 +0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
I'll push a patch. bug: ---------------------------------------------------------------------- #define hexCh(c (c >= 10 ? 'a' + c - 10 : '0' + c) hexCh(c); out: address@hidden:~/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: address@hidden:~/test$ ./tcc -E c4.c # 1 "c4.c" /3) (c >= 10 ? 'a' + c - 10 : '0' + c); address@hidden:~/test$ after patch: # 1 "c4.c" c4.c:1: error: may not appear in macro parameter list: "(" address@hidden:~/test$ address@hidden:~/test$ ./tcc -E c4.c # 1 "c4.c" c4.c:1: error: may not appear in macro parameter list: "/" address@hidden:~/test$ ------------------------------------------------------------------------- address@hidden:weixiao/tinycc.git Thank you for reminding jiang 于 2014年06月23日 09:50,
address@hidden 写道:
" tinycc is a great project, and I am honored to join a project " |
p1
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |