diff options
Diffstat (limited to 'editors/awk.c')
-rw-r--r-- | editors/awk.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/editors/awk.c b/editors/awk.c index 8bc56756c..2eeb9d77a 100644 --- a/editors/awk.c +++ b/editors/awk.c | |||
@@ -277,10 +277,10 @@ enum { | |||
277 | 277 | ||
278 | /* tokens and their corresponding info values */ | 278 | /* tokens and their corresponding info values */ |
279 | 279 | ||
280 | #define NTC "\377" /* switch to next token class (tc<<1) */ | 280 | #define NTC "\377" /* switch to next token class (tc<<1) */ |
281 | #define NTCC '\377' | 281 | #define NTCC '\377' |
282 | 282 | ||
283 | #define OC_B OC_BUILTIN | 283 | #define OC_B OC_BUILTIN |
284 | 284 | ||
285 | static const char tokenlist[] ALIGN1 = | 285 | static const char tokenlist[] ALIGN1 = |
286 | "\1(" NTC | 286 | "\1(" NTC |
@@ -368,7 +368,7 @@ static const uint32_t tokeninfo[] = { | |||
368 | OC_B|B_ss|P(0x8f), OC_FBLTIN|F_ti, OC_B|B_ti|P(0x0b), OC_B|B_mt|P(0x0b), | 368 | OC_B|B_ss|P(0x8f), OC_FBLTIN|F_ti, OC_B|B_ti|P(0x0b), OC_B|B_mt|P(0x0b), |
369 | OC_B|B_lo|P(0x49), OC_B|B_up|P(0x49), | 369 | OC_B|B_lo|P(0x49), OC_B|B_up|P(0x49), |
370 | OC_GETLINE|SV|P(0), | 370 | OC_GETLINE|SV|P(0), |
371 | 0, 0, | 371 | 0, 0, |
372 | 0, | 372 | 0, |
373 | 0 /* END */ | 373 | 0 /* END */ |
374 | }; | 374 | }; |
@@ -380,7 +380,7 @@ enum { | |||
380 | ORS, RS, RT, FILENAME, | 380 | ORS, RS, RT, FILENAME, |
381 | SUBSEP, F0, ARGIND, ARGC, | 381 | SUBSEP, F0, ARGIND, ARGC, |
382 | ARGV, ERRNO, FNR, NR, | 382 | ARGV, ERRNO, FNR, NR, |
383 | NF, IGNORECASE, ENVIRON, NUM_INTERNAL_VARS | 383 | NF, IGNORECASE, ENVIRON, NUM_INTERNAL_VARS |
384 | }; | 384 | }; |
385 | 385 | ||
386 | static const char vNames[] ALIGN1 = | 386 | static const char vNames[] ALIGN1 = |
@@ -2335,7 +2335,7 @@ static var *evaluate(node *op, var *res) | |||
2335 | #define fnargs (G.evaluate__fnargs) | 2335 | #define fnargs (G.evaluate__fnargs) |
2336 | /* seed is initialized to 1 */ | 2336 | /* seed is initialized to 1 */ |
2337 | #define seed (G.evaluate__seed) | 2337 | #define seed (G.evaluate__seed) |
2338 | #define sreg (G.evaluate__sreg) | 2338 | #define sreg (G.evaluate__sreg) |
2339 | 2339 | ||
2340 | var *v1; | 2340 | var *v1; |
2341 | 2341 | ||
@@ -2611,7 +2611,7 @@ static var *evaluate(node *op, var *res) | |||
2611 | rsm->F = popen(L.s, "r"); | 2611 | rsm->F = popen(L.s, "r"); |
2612 | rsm->is_pipe = TRUE; | 2612 | rsm->is_pipe = TRUE; |
2613 | } else { | 2613 | } else { |
2614 | rsm->F = fopen_for_read(L.s); /* not xfopen! */ | 2614 | rsm->F = fopen_for_read(L.s); /* not xfopen! */ |
2615 | } | 2615 | } |
2616 | } | 2616 | } |
2617 | } else { | 2617 | } else { |