aboutsummaryrefslogtreecommitdiff
path: root/libiberty/cplus-dem.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2001-03-20 11:54:17 -0500
committerJason Merrill <jason@gcc.gnu.org>2001-03-20 11:54:17 -0500
commite03a61f143b31bd50419ce19ee181064b90a532c (patch)
treed38073872862796c6aee2b7c3c4214304f0135a9 /libiberty/cplus-dem.c
parenta92facbb7b5274dd96218d7834d5c4bd9ea9c12d (diff)
downloadgcc-e03a61f143b31bd50419ce19ee181064b90a532c.zip
gcc-e03a61f143b31bd50419ce19ee181064b90a532c.tar.gz
gcc-e03a61f143b31bd50419ce19ee181064b90a532c.tar.bz2
* cplus-dem.c (main): Skip initial $.
From-SVN: r40655
Diffstat (limited to 'libiberty/cplus-dem.c')
-rw-r--r--libiberty/cplus-dem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/cplus-dem.c b/libiberty/cplus-dem.c
index 6133e6e..31a7555 100644
--- a/libiberty/cplus-dem.c
+++ b/libiberty/cplus-dem.c
@@ -5139,7 +5139,7 @@ main (argc, argv)
{
int skip_first = 0;
- if (mbuffer[0] == '.')
+ if (mbuffer[0] == '.' || mbuffer[0] == '$')
++skip_first;
if (strip_underscore && mbuffer[skip_first] == '_')
++skip_first;