aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libiberty/ChangeLog4
-rw-r--r--libiberty/cplus-dem.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 9895470..5bb5073 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,7 @@
+2001-03-20 Jason Merrill <jason@redhat.com>
+
+ * cplus-dem.c (main): Skip initial $.
+
2001-03-15 Michael Meissner <meissner@redhat.com>
* hashtab.c (higher_prime_number): Silence warning that 4294967291
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;