projects
/
external
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
309367d
)
* app.c (do_scrub_chars): Don't test IGNORE_NONSTANDARD_ESCAPES. Tidy.
author
Alan Modra
<amodra@gmail.com>
Tue, 27 Aug 2002 23:34:18 +0000
(23:34 +0000)
committer
Alan Modra
<amodra@gmail.com>
Tue, 27 Aug 2002 23:34:18 +0000
(23:34 +0000)
gas/ChangeLog
patch
|
blob
|
history
gas/app.c
patch
|
blob
|
history
diff --git
a/gas/ChangeLog
b/gas/ChangeLog
index
44a2af4
..
557779b
100644
(file)
--- a/
gas/ChangeLog
+++ b/
gas/ChangeLog
@@
-1,3
+1,7
@@
+2002-08-28 Alan Modra <amodra@bigpond.net.au>
+
+ * app.c (do_scrub_chars): Don't test IGNORE_NONSTANDARD_ESCAPES. Tidy.
+
2002-08-27 Alan Modra <amodra@bigpond.net.au>
* dwarf2dbg.c: Always include dwarf2dbg.h.
2002-08-27 Alan Modra <amodra@bigpond.net.au>
* dwarf2dbg.c: Always include dwarf2dbg.h.
diff --git
a/gas/app.c
b/gas/app.c
index
f9c5c7d
..
7ea90b4
100644
(file)
--- a/
gas/app.c
+++ b/
gas/app.c
@@
-1,6
+1,6
@@
/* This is the Assembler Pre-Processor
Copyright 1987, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
/* This is the Assembler Pre-Processor
Copyright 1987, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
- 1999, 2000
+ 1999, 2000
, 2002
Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@
-611,6
+611,11
@@
do_scrub_chars (get, tostart, tolen)
PUT ('\\');
continue;
PUT ('\\');
continue;
+ case EOF:
+ as_warn (_("end of file in string; '\"' inserted"));
+ PUT ('"');
+ continue;
+
case '"':
case '\\':
case 'b':
case '"':
case '\\':
case 'b':
@@
-630,20
+635,12
@@
do_scrub_chars (get, tostart, tolen)
case '6':
case '7':
break;
case '6':
case '7':
break;
-#if defined(IGNORE_NONSTANDARD_ESCAPES) | defined(ONLY_STANDARD_ESCAPES)
+
default:
default:
+#ifdef ONLY_STANDARD_ESCAPES
as_warn (_("unknown escape '\\%c' in string; ignored"), ch);
as_warn (_("unknown escape '\\%c' in string; ignored"), ch);
+#endif
break;
break;
-#else /* ONLY_STANDARD_ESCAPES */
- default:
- /* Accept \x as x for any x */
- break;
-#endif /* ONLY_STANDARD_ESCAPES */
-
- case EOF:
- as_warn (_("end of file in string; '\"' inserted"));
- PUT ('"');
- continue;
}
PUT (ch);
continue;
}
PUT (ch);
continue;