diff options
Diffstat (limited to 'src/cmd/cc/dpchk.c')
-rw-r--r-- | src/cmd/cc/dpchk.c | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/src/cmd/cc/dpchk.c b/src/cmd/cc/dpchk.c index 084aa0484..c579e20d9 100644 --- a/src/cmd/cc/dpchk.c +++ b/src/cmd/cc/dpchk.c @@ -567,13 +567,7 @@ pragfpround(void) void pragtextflag(void) { - Sym *s; - - textflag = 0; - s = getsym(); - textflag = 7; - if(s) - textflag = atoi(s->name+1); + textflag = getnsn(); while(getnsc() != '\n') ; if(debug['f']) @@ -581,6 +575,16 @@ pragtextflag(void) } void +pragdataflag(void) +{ + dataflag = getnsn(); + while(getnsc() != '\n') + ; + if(debug['f']) + print("%4d: dataflag %d\n", lineno, dataflag); +} + +void pragincomplete(void) { Sym *s; |