public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f7937d
)
floating point constants are no longer fatal
author
ceriel
<none@none>
Wed, 28 Jan 1987 00:11:28 +0000
(
00:11
+0000)
committer
ceriel
<none@none>
Wed, 28 Jan 1987 00:11:28 +0000
(
00:11
+0000)
mach/ns/ncg/mach.c
patch
|
blob
|
history
diff --git
a/mach/ns/ncg/mach.c
b/mach/ns/ncg/mach.c
index
1cc0711
..
0e55a15
100644
(file)
--- a/
mach/ns/ncg/mach.c
+++ b/
mach/ns/ncg/mach.c
@@
-144,5
+144,14
@@
char *segname[] = {
con_float() {
- fatal("no reals");
+ static int warning_given;
+ int i;
+
+ if (! warning_given) {
+ fprintf(stderr, "warning: dummy floating point constant\n");
+ warning_given = 1;
+ }
+ for (i = argval; i > 0; i -= 4) {
+ fputs(".data4 0 ! dummy float\n", codefile);
+ }
}