# | Line 55 | Line 55 | static EPNODE *outchan; | |
---|---|---|
55 | #endif | |
56 | ||
57 | #ifdef FUNCTION | |
58 | < | EPNODE *curfunc; |
58 | > | EPNODE *curfunc = NULL; |
59 | #define dname(ep) ((ep)->v.kid->type == SYM ? \ | |
60 | (ep)->v.kid->v.name : \ | |
61 | (ep)->v.kid->v.kid->v.name) | |
# | Line 620 | Line 620 | getdefn() /* A -> SYM = E1 */ | |
620 | syntax("')' expected"); | |
621 | scan(); | |
622 | curfunc = ep1; | |
623 | < | } else |
624 | < | curfunc = NULL; |
623 | > | } |
624 | #endif | |
625 | ||
626 | if (nextc != '=' && nextc != ':') | |
# | Line 646 | Line 645 | getdefn() /* A -> SYM = E1 */ | |
645 | ep1->type = NUM; | |
646 | addekid(ep2, ep1); | |
647 | } | |
648 | + | |
649 | + | #ifdef FUNCTION |
650 | + | curfunc = NULL; |
651 | + | #endif |
652 | ||
653 | return(ep2); | |
654 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |