/[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.3 by akim, Tue Aug 7 10:41:11 2001 UTC revision 1.4 by gary, Thu Aug 16 22:21:30 2001 UTC
# Line 200  struct input_block Line 200  struct input_block
200        struct        struct
201          {          {
202            m4_builtin_func *func;/* pointer to macros function */            m4_builtin_func *func;/* pointer to macros function */
203              lt_dlhandle handle;   /* originating module */
204            boolean traced;       /* TRUE iff builtin is traced */            boolean traced;       /* TRUE iff builtin is traced */
205            boolean read;         /* TRUE iff block has been read */            boolean read;         /* TRUE iff block has been read */
206          }          }
# Line 411  static struct input_funcs macro_funcs = Line 412  static struct input_funcs macro_funcs =
412  };  };
413    
414  void  void
415  m4_push_macro (func, traced)  m4_push_macro (func, handle, traced)
416       m4_builtin_func *func;       m4_builtin_func *func;
417         lt_dlhandle handle;
418       boolean traced;       boolean traced;
419  {  {
420    input_block *i;    input_block *i;
# Line 428  m4_push_macro (func, traced) Line 430  m4_push_macro (func, traced)
430    i->funcs = &macro_funcs;    i->funcs = &macro_funcs;
431    
432    i->u.u_m.func = func;    i->u.u_m.func = func;
433      i->u.u_m.handle = handle;
434    i->u.u_m.traced = traced;    i->u.u_m.traced = traced;
435    i->u.u_m.read = FALSE;    i->u.u_m.read = FALSE;
436    
# Line 652  init_macro_token (td) Line 655  init_macro_token (td)
655    M4_TOKEN_DATA_TYPE (td) = M4_TOKEN_FUNC;    M4_TOKEN_DATA_TYPE (td) = M4_TOKEN_FUNC;
656    M4_TOKEN_DATA_FUNC (td) = isp->u.u_m.func;    M4_TOKEN_DATA_FUNC (td) = isp->u.u_m.func;
657    M4_TOKEN_DATA_FUNC_TRACED (td) = isp->u.u_m.traced;    M4_TOKEN_DATA_FUNC_TRACED (td) = isp->u.u_m.traced;
658      M4_TOKEN_DATA_HANDLE (td) = isp->u.u_m.handle;
659  }  }
660    
661    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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