* utils.c: Use CPLUS_MARKER not '$'.
* cplus-dem.c: Use CPLUS_MARKER not '$'. If CPLUS_MARKER isn't defined, define it to '$'.
This commit is contained in:
parent
9ba8a5a46b
commit
f88e7af831
3 changed files with 18 additions and 5 deletions
|
@ -894,7 +894,8 @@ fputs_demangled (linebuffer, stream, arg_mode)
|
|||
#endif
|
||||
#define SYMBOL_MAX 1024
|
||||
|
||||
#define SYMBOL_CHAR(c) (isascii(c) && (isalnum(c) || (c) == '_' || (c) == '$'))
|
||||
#define SYMBOL_CHAR(c) (isascii(c) \
|
||||
&& (isalnum(c) || (c) == '_' || (c) == CPLUS_MARKER))
|
||||
|
||||
char buf[SYMBOL_MAX+1];
|
||||
# define SLOP 5 /* How much room to leave in buf */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue