Stepan Kasal <kasal <at> ucw.cz> writes: > It can be argued that the occurence of ONE starts on line 3, so it > would be better to report that line number. But since TWO is > expanded ``inside'' the expansion of ONE, the ``more friendly'' line > number output would be: > ONE on line 3 > TWO on line 3 > > It can be tricky to achieve that goal, but I believe it is possible. > > But current m4 goes only half-way, saying: > ONE on line 3 > TWO on line 5
CVS branch-1_4 of M4 now goes all the way, listing line 3 for both macros with my latest patch. And CVS head will soon follow. http://www.nabble.com/forum/ViewPost.jtp?post=7000212&framed=y Thanks for the suggestion! -- Eric Blake
