[Mp4h-devel]CVS: mp4h/src macro.c,1.60,1.61
Brought to you by:
barbier
|
From: Denis B. <ba...@us...> - 2001-12-10 21:30:14
|
Update of /cvsroot/mp4h/mp4h/src
In directory usw-pr-cvs1:/tmp/cvs-serv14934
Modified Files:
macro.c
Log Message:
Fix expand_unknown_tag to keep track of line numbers
Index: macro.c
===================================================================
RCS file: /cvsroot/mp4h/mp4h/src/macro.c,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- macro.c 2001/10/15 23:31:18 1.60
+++ macro.c 2001/12/10 21:30:10 1.61
@@ -713,6 +713,11 @@
boolean slash, single;
expansion_level++;
+ array_current_line[expansion_level] = current_line;
+ if (expansion_level > nesting_limit)
+ MP4HERROR ((EXIT_FAILURE, 0,
+ _("ERROR: Recursion limit of %d exceeded, use -L<N> to change it"),
+ nesting_limit));
symbol_name = xstrdup (name);
|