diff options
Diffstat (limited to 'gcc/cp/lex.c')
-rw-r--r-- | gcc/cp/lex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c index d5f8cd4..9df7b1c 100644 --- a/gcc/cp/lex.c +++ b/gcc/cp/lex.c @@ -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; \ \ |