mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-20 19:29:48 +08:00
lex.c (DEF_OPERATOR): Say operator@' -not-
operator @' whenever @ is a symbolic name.
2000-06-09 Gabriel Dos Reis <gdr@codesourcery.com> * lex.c (DEF_OPERATOR): Say `operator@' -not- `operator @' whenever @ is a symbolic name. From-SVN: r34465
This commit is contained in:
parent
08c26ec9fa
commit
dba1acea53
@ -1,3 +1,8 @@
|
||||
2000-06-09 Gabriel Dos Reis <gdr@codesourcery.com>
|
||||
|
||||
* lex.c (DEF_OPERATOR): Say `operator@' -not- `operator @'
|
||||
whenever @ is a symbolic name.
|
||||
|
||||
2000-06-08 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
Remove old ABI mangling code.
|
||||
|
@ -468,9 +468,9 @@ init_operators ()
|
||||
|
||||
#define DEF_OPERATOR(NAME, CODE, MANGLING, ARITY, ASSN_P) \
|
||||
my_friendly_assert ((strlen ("operator ") + strlen (NAME) + 1 \
|
||||
<= 256), \
|
||||
+ ISALPHA (NAME[0]) <= 256), \
|
||||
20000526); \
|
||||
sprintf (buffer, "operator %s", NAME); \
|
||||
sprintf (buffer, ISALPHA (NAME[0]) ? "operator %s" : "operator%s", NAME); \
|
||||
identifier = get_identifier (buffer); \
|
||||
IDENTIFIER_OPNAME_P (identifier) = 1; \
|
||||
\
|
||||
|
Loading…
Reference in New Issue
Block a user