summaryrefslogtreecommitdiffstats
path: root/libiberty/cplus-dem.c
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-20 16:54:17 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-20 16:54:17 +0000
commitd219f684a4c3c8795c5fc25eb815578d09c0fc4b (patch)
treed38073872862796c6aee2b7c3c4214304f0135a9 /libiberty/cplus-dem.c
parentf009274df8c971838cbf1da5e874e9454ffef34a (diff)
downloadppe42-gcc-d219f684a4c3c8795c5fc25eb815578d09c0fc4b.tar.gz
ppe42-gcc-d219f684a4c3c8795c5fc25eb815578d09c0fc4b.zip
* cplus-dem.c (main): Skip initial $.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40655 138bc75d-0d04-0410-961f-82ee72b054a4
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 6133e6e1d40..31a7555783b 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;
OpenPOWER on IntegriCloud