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

Diff of /m4/m4/input.c

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

revision 1.33 by gary, Wed Jul 23 11:51:26 2003 UTC revision 1.34 by gary, Wed Jul 23 16:20:49 2003 UTC
# Line 144  const char *m4_current_file; Line 144  const char *m4_current_file;
144  int m4_current_line;  int m4_current_line;
145    
146  /* Obstack for storing individual tokens.  */  /* Obstack for storing individual tokens.  */
147  static struct obstack token_stack;  static m4_obstack token_stack;
148    
149  /* Normal input stack.  */  /* Normal input stack.  */
150  static struct obstack input_stack;  static m4_obstack input_stack;
151    
152  /* Wrapup input stack.  */  /* Wrapup input stack.  */
153  static struct obstack wrapup_stack;  static m4_obstack wrapup_stack;
154    
155  /* Input or wrapup.  */  /* Input or wrapup.  */
156  static struct obstack *current_input;  static m4_obstack *current_input;
157    
158  /* Bottom of token_stack, for obstack_free.  */  /* Bottom of token_stack, for obstack_free.  */
159  static char *token_bottom;  static char *token_bottom;
# Line 408  static struct input_funcs string_funcs = Line 408  static struct input_funcs string_funcs =
408    string_peek, string_read, string_unget, NULL    string_peek, string_read, string_unget, NULL
409  };  };
410    
411  struct obstack *  m4_obstack *
412  m4_push_string_init (m4 *context)  m4_push_string_init (m4 *context)
413  {  {
414    if (next != NULL)    if (next != NULL)
# Line 640  match_input (m4 *context, const unsigned Line 640  match_input (m4 *context, const unsigned
640    int n;                        /* number of characters matched */    int n;                        /* number of characters matched */
641    int ch;                       /* input character */    int ch;                       /* input character */
642    const unsigned char *t;    const unsigned char *t;
643    struct obstack *st;    m4_obstack *st;
644    
645    ch = m4_peek_input (context);    ch = m4_peek_input (context);
646    if (ch != *s)    if (ch != *s)

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

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