comparison Paper/source/regi-id.c @ 47:e07c7952f237

add sources
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Wed, 23 Nov 2011 02:27:44 +0900
parents
children
comparison
equal deleted inserted replaced
46:db63cc25d890 47:e07c7952f237
1 case RID_CbC_CODE:
2 if (specs->long_p)
3 error_at (loc,(
4 "both %<long%> and %<void%> in "
5 "declaration specifiers"));
6 else if (specs->short_p)
7 error_at (loc,
8 ("both %<short%> and %<void%> in "
9 "declaration specifiers"));
10 else if (specs->signed_p)
11 error_at (loc,
12 ("both %<signed%> and %<void%> in "
13 "declaration specifiers"));
14 else if (specs->unsigned_p)
15 error_at (loc,
16 ("both %<unsigned%> and %<void%> in "
17 "declaration specifiers"));
18 else if (specs->complex_p)
19 error_at (loc,
20 ("both %<complex%> and %<void%> in "
21 "declaration specifiers"));
22 else
23 specs->typespec_word = cts_CbC_code;
24 return specs;