projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46c2362
)
[project @ 2002-01-22 15:55:59 by simonmar]
author
simonmar
<unknown>
Tue, 22 Jan 2002 15:55:59 +0000
(15:55 +0000)
committer
simonmar
<unknown>
Tue, 22 Jan 2002 15:55:59 +0000
(15:55 +0000)
Fix wibbles in previous commit.
ghc/utils/unlit/unlit.c
patch
|
blob
|
history
diff --git
a/ghc/utils/unlit/unlit.c
b/ghc/utils/unlit/unlit.c
index
a454351
..
475a41f
100644
(file)
--- a/
ghc/utils/unlit/unlit.c
+++ b/
ghc/utils/unlit/unlit.c
@@
-348,8
+348,8
@@
char **argv; {
}
/* Prefix the output with line pragmas */
- if (add_line_prag_long) {
- fprintf(ostream, "# 1 \"%s\"\n");{-# LINE 1 \"%s\" #-}\n", prefix_str, prefix_str);
+ if (prefix_str) {
+ fprintf(ostream, "#line 1 \"%s\"\n);{-# LINE 1 \"%s\" #-}\n", prefix_str, prefix_str);
}
unlit(file, istream, ostream);