diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1991-04-19 23:50:06 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1991-04-19 23:50:06 +0000 |
commit | f88e7af8313dbf9c7c8f4781c2b1ac064c56ac2e (patch) | |
tree | a011a4c1449c9479f2f5f452407a86b11ef25d3e /gdb/utils.c | |
parent | 9ba8a5a46bc4cf3d18cdfc940895c1fabe18ede2 (diff) | |
download | gdb-f88e7af8313dbf9c7c8f4781c2b1ac064c56ac2e.zip gdb-f88e7af8313dbf9c7c8f4781c2b1ac064c56ac2e.tar.gz gdb-f88e7af8313dbf9c7c8f4781c2b1ac064c56ac2e.tar.bz2 |
* utils.c: Use CPLUS_MARKER not '$'.
* cplus-dem.c: Use CPLUS_MARKER not '$'. If CPLUS_MARKER isn't
defined, define it to '$'.
Diffstat (limited to 'gdb/utils.c')
-rw-r--r-- | gdb/utils.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/utils.c b/gdb/utils.c index b3af85d..cb1eb9c 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -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 */ |