"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "wml_backend/p2_mp4h/src/macro.c" between
wml-2.28.0.tar.xz and wml-2.30.0.tar.xz

About: WML (Website META Language) is an extensible Webdesigner’s off-line HTML generation toolkit.

macro.c  (wml-2.28.0.tar.xz):macro.c  (wml-2.30.0.tar.xz)
skipping to change at line 579 skipping to change at line 579
int my_call_id; int my_call_id;
read_type attr_expansion; read_type attr_expansion;
expansion_level++; expansion_level++;
if (expansion_level > nesting_limit) if (expansion_level > nesting_limit)
MP4HERROR ((EXIT_FAILURE, 0, MP4HERROR ((EXIT_FAILURE, 0,
_("ERROR: Recursion limit of %d exceeded, use -L<N> to change it"), _("ERROR: Recursion limit of %d exceeded, use -L<N> to change it"),
nesting_limit)); nesting_limit));
array_current_line[expansion_level] = current_line; array_current_line[expansion_level] = current_line;
xfree((voidstar) array_current_file[expansion_level]); free((voidstar) array_current_file[expansion_level]);
array_current_file[expansion_level] = xstrdup(current_file); array_current_file[expansion_level] = xstrdup(current_file);
macro_call_id++; macro_call_id++;
my_call_id = macro_call_id; my_call_id = macro_call_id;
traced = (bool) ((debug_level & DEBUG_TRACE_ALL) || SYMBOL_TRACED (sym)); traced = (bool) ((debug_level & DEBUG_TRACE_ALL) || SYMBOL_TRACED (sym));
obstack_init (&arguments); obstack_init (&arguments);
obstack_init (&argptr); obstack_init (&argptr);
obstack_init (&body); obstack_init (&body);
skipping to change at line 720 skipping to change at line 720
read_type attr_expansion; read_type attr_expansion;
bool slash, single; bool slash, single;
expansion_level++; expansion_level++;
if (expansion_level > nesting_limit) if (expansion_level > nesting_limit)
MP4HERROR ((EXIT_FAILURE, 0, MP4HERROR ((EXIT_FAILURE, 0,
_("ERROR: Recursion limit of %d exceeded, use -L<N> to change it"), _("ERROR: Recursion limit of %d exceeded, use -L<N> to change it"),
nesting_limit)); nesting_limit));
array_current_line[expansion_level] = current_line; array_current_line[expansion_level] = current_line;
xfree((voidstar) array_current_file[expansion_level]); free((voidstar) array_current_file[expansion_level]);
array_current_file[expansion_level] = xstrdup(current_file); array_current_file[expansion_level] = xstrdup(current_file);
symbol_name = xstrdup (name); symbol_name = xstrdup (name);
obstack_init (&arguments); obstack_init (&arguments);
obstack_init (&argptr); obstack_init (&argptr);
obstack_init (&body); obstack_init (&body);
if (expansion == READ_NORMAL || expansion == READ_ATTRIBUTE if (expansion == READ_NORMAL || expansion == READ_ATTRIBUTE
|| expansion == READ_ATTR_QUOT) || expansion == READ_ATTR_QUOT)
skipping to change at line 817 skipping to change at line 817
} }
expanded = push_string_finish (expansion); expanded = push_string_finish (expansion);
--expansion_level; --expansion_level;
obstack_free (&arguments, NULL); obstack_free (&arguments, NULL);
obstack_free (&argptr, NULL); obstack_free (&argptr, NULL);
obstack_free (&body, NULL); obstack_free (&body, NULL);
xfree ((voidstar) symbol_name); free ((voidstar) symbol_name);
} }
/*-------------------------------------------------------------------------. /*-------------------------------------------------------------------------.
| The entity expansion is handled by expand_entity (). Entities are | | The entity expansion is handled by expand_entity (). Entities are |
| treated similarly to macros, they just do not have arguments and the | | treated similarly to macros, they just do not have arguments and the |
| symbol text is output directly. | | symbol text is output directly. |
| | | |
| Expand_entity () is not recursive. | | Expand_entity () is not recursive. |
`-------------------------------------------------------------------------*/ `-------------------------------------------------------------------------*/
skipping to change at line 843 skipping to change at line 843
bool traced; bool traced;
int my_call_id; int my_call_id;
expansion_level++; expansion_level++;
if (expansion_level > nesting_limit) if (expansion_level > nesting_limit)
MP4HERROR ((EXIT_FAILURE, 0, MP4HERROR ((EXIT_FAILURE, 0,
_("ERROR: Recursion limit of %d exceeded, use -L<N> to change it"), _("ERROR: Recursion limit of %d exceeded, use -L<N> to change it"),
nesting_limit)); nesting_limit));
array_current_line[expansion_level] = current_line; array_current_line[expansion_level] = current_line;
xfree((voidstar) array_current_file[expansion_level]); free((voidstar) array_current_file[expansion_level]);
array_current_file[expansion_level] = xstrdup(current_file); array_current_file[expansion_level] = xstrdup(current_file);
macro_call_id++; macro_call_id++;
my_call_id = macro_call_id; my_call_id = macro_call_id;
traced = (bool) ((debug_level & DEBUG_TRACE_ALL) || SYMBOL_TRACED (sym)); traced = (bool) ((debug_level & DEBUG_TRACE_ALL) || SYMBOL_TRACED (sym));
if (traced && (debug_level & DEBUG_TRACE_CALL)) if (traced && (debug_level & DEBUG_TRACE_CALL))
trace_prepre (SYMBOL_NAME (sym), my_call_id); trace_prepre (SYMBOL_NAME (sym), my_call_id);
 End of changes. 4 change blocks. 
4 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)