* 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:
Jim Kingdon 1991-04-19 23:50:06 +00:00
parent 9ba8a5a46b
commit f88e7af831
3 changed files with 18 additions and 5 deletions

View file

@ -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 */