Line 0
Link Here
|
|
|
1 |
--- c/pfe/lib/p_calc_name.cc.orig Fri Aug 29 19:10:33 2003 |
2 |
+++ c/pfe/lib/p_calc_name.cc Fri Aug 29 19:29:19 2003 |
3 |
@@ -98,14 +98,14 @@ |
4 |
#define DEFINE_CALC_NAME_FMT_OPTION(type, explain) \ |
5 |
{ \ |
6 |
#type "_fmt", \ |
7 |
- name_strings::##type##_fmt, \ |
8 |
+ name_strings::type##_fmt, \ |
9 |
"Specify the format of " explain \ |
10 |
} |
11 |
|
12 |
#define DEFINE_CALC_NAME_LIT_OPTION(type, explain) \ |
13 |
{ \ |
14 |
#type "_lit", \ |
15 |
- name_strings::##type##_lit, \ |
16 |
+ name_strings::type##_lit, \ |
17 |
"Specify the string for " explain \ |
18 |
} |
19 |
|
20 |
@@ -333,7 +333,7 @@ |
21 |
#define DEFINE_CALC_NAME_FUNCTION(type) \ |
22 |
char *pg_state::calc_##type##_name(const char *basic_name) \ |
23 |
{ \ |
24 |
- return calc_name(names.formats[name_strings::##type##_fmt], \ |
25 |
+ return calc_name(names.formats[name_strings::type##_fmt], \ |
26 |
basic_name); \ |
27 |
} |
28 |
|
29 |
@@ -346,7 +346,7 @@ |
30 |
\ |
31 |
calc_scoped_name(&scname, \ |
32 |
parent_ref, \ |
33 |
- names.formats[name_strings::##type##_scoped_fmt]); \ |
34 |
+ names.formats[name_strings::type##_scoped_fmt]); \ |
35 |
cast_add_scope_name(&scname, \ |
36 |
base_name, \ |
37 |
null_template_arg_array); \ |
38 |
@@ -715,8 +715,8 @@ |
39 |
++calc_name_data.count; \ |
40 |
} while (0) |
41 |
|
42 |
-#define NAME_LITERAL_STR(type) names.literals[name_strings::##type##_lit].str |
43 |
-#define NAME_LITERAL_LEN(type) names.literals[name_strings::##type##_lit].len |
44 |
+#define NAME_LITERAL_STR(type) names.literals[name_strings::type##_lit].str |
45 |
+#define NAME_LITERAL_LEN(type) names.literals[name_strings::type##_lit].len |
46 |
|
47 |
/* |
48 |
* An internal auxiliary. `calc_name_module' locates the names of the AOI |