aboutsummaryrefslogtreecommitdiff
path: root/ld/mkscript.c
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1992-04-05 01:47:16 +0000
committerSteve Chamberlain <sac@cygnus>1992-04-05 01:47:16 +0000
commit9d1fe8a4103b93f4de17d0f80b3b80c687811754 (patch)
treeca7bbfe6215e66290ae02cbec26ae6ebd494af43 /ld/mkscript.c
parentb2de19e3c671f63d86cebe2ec18584e2518db071 (diff)
downloadgdb-9d1fe8a4103b93f4de17d0f80b3b80c687811754.zip
gdb-9d1fe8a4103b93f4de17d0f80b3b80c687811754.tar.gz
gdb-9d1fe8a4103b93f4de17d0f80b3b80c687811754.tar.bz2
New lexer.
New targets for h8/300 simulator and DOS
Diffstat (limited to 'ld/mkscript.c')
-rw-r--r--ld/mkscript.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/mkscript.c b/ld/mkscript.c
index e0f66ee..66ddfc2 100644
--- a/ld/mkscript.c
+++ b/ld/mkscript.c
@@ -23,9 +23,10 @@ int
main()
{
int ch;
+
ch = getchar();
printf("/* Generated through mkscript */\n");
- printf("\"{ \\\n");
+ printf("\"{");
while (ch != EOF) {
if (ch == '\"' || ch == '\\' || ch == '\'') {
putchar('\\');