merge from gcc
authorDJ Delorie <dj@redhat.com>
Tue, 20 Mar 2001 17:09:17 +0000 (17:09 +0000)
committerDJ Delorie <dj@redhat.com>
Tue, 20 Mar 2001 17:09:17 +0000 (17:09 +0000)
libiberty/ChangeLog
libiberty/cplus-dem.c

index 989547060f532ae4fe5f522f872793f9728ba707..5bb5073d842bbf41b7bc23a5e4defbbb0189c7a2 100644 (file)
@@ -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
index 6133e6e1d40bbe8b3ff556de93f803dbc5a87a67..31a7555783b839dc9ce07d99a60b4feb99d8e274 100644 (file)
@@ -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;