/[m4]/m4/m4/macro.c
ViewVC logotype

Diff of /m4/m4/macro.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.32 by gary, Wed Jul 9 12:32:41 2003 UTC revision 1.33 by gary, Tue Jul 15 09:24:54 2003 UTC
# Line 78  expand_token (m4 *context, struct obstac Line 78  expand_token (m4 *context, struct obstac
78      case M4_TOKEN_WORD:      case M4_TOKEN_WORD:
79        {        {
80          char *textp = text;          char *textp = text;
81            int ch;
82    
83          if (M4_IS_ESCAPE (M4SYNTAX, *textp))          if (M4_IS_ESCAPE (M4SYNTAX, *textp))
84            ++textp;            ++textp;
# Line 87  expand_token (m4 *context, struct obstac Line 88  expand_token (m4 *context, struct obstac
88              || symbol->value->type == M4_SYMBOL_VOID              || symbol->value->type == M4_SYMBOL_VOID
89              || (symbol->value->type == M4_SYMBOL_FUNC              || (symbol->value->type == M4_SYMBOL_FUNC
90                  && BIT_TEST (SYMBOL_FLAGS (symbol), VALUE_BLIND_ARGS_BIT)                  && BIT_TEST (SYMBOL_FLAGS (symbol), VALUE_BLIND_ARGS_BIT)
91                  && !M4_IS_OPEN (M4SYNTAX, m4_peek_input (context))))                  && (ch = m4_peek_input (context)) < CHAR_EOF
92                    && !M4_IS_OPEN (M4SYNTAX, ch)))
93            {            {
94              m4_shipout_text (context, obs, text, strlen (text));              m4_shipout_text (context, obs, text, strlen (text));
95            }            }
# Line 270  collect_arguments (m4 *context, const ch Line 272  collect_arguments (m4 *context, const ch
272    obstack_grow (argptr, (void *) &tokenp, sizeof (tokenp));    obstack_grow (argptr, (void *) &tokenp, sizeof (tokenp));
273    
274    ch = m4_peek_input (context);    ch = m4_peek_input (context);
275    if (M4_IS_OPEN (M4SYNTAX, ch))    if ((ch < CHAR_EOF) && M4_IS_OPEN (M4SYNTAX, ch))
276      {      {
277        m4__next_token (context, &token);         /* gobble parenthesis */        m4__next_token (context, &token);         /* gobble parenthesis */
278        do        do

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26