[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
m4 ChangeLog doc/m4.texinfo src/input.c [branch-1_4]
From: |
Eric Blake |
Subject: |
m4 ChangeLog doc/m4.texinfo src/input.c [branch-1_4] |
Date: |
Wed, 25 Oct 2006 20:54:40 +0000 |
CVSROOT: /sources/m4
Module name: m4
Branch: branch-1_4
Changes by: Eric Blake <ericb> 06/10/25 20:54:39
Modified files:
. : ChangeLog
doc : m4.texinfo
src : input.c
Log message:
Redo location tracking. Instead of having just files track the
line to return to when popping input, now all input blocks track
their current line.
* src/input.c (INPUT_STRING_WRAP, INPUT_FILE_INIT): No longer
needed.
(input_block): Have line and file storage for all input types, and
rename some members.
(input_change): New global flag.
(push_file, push_macro, push_string_init, push_wrapup): Store
location.
(push_string_finish, pop_input, pop_wrapup): Notice changes in
input blocks.
(peek_input): Adjust to new member names.
(next_char, next_char1): Adjust location if needed.
(skip_line): Simplify restoring location.
* doc/m4.texinfo (Location): Augment the test to catch line
location of expansion of multi-line arguments.
Reported by Stepan Kasal.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/m4/ChangeLog?cvsroot=m4&only_with_tag=branch-1_4&r1=1.1.1.1.2.203&r2=1.1.1.1.2.204
http://cvs.savannah.gnu.org/viewcvs/m4/doc/m4.texinfo?cvsroot=m4&only_with_tag=branch-1_4&r1=1.1.1.1.2.92&r2=1.1.1.1.2.93
http://cvs.savannah.gnu.org/viewcvs/m4/src/input.c?cvsroot=m4&only_with_tag=branch-1_4&r1=1.1.1.1.2.27&r2=1.1.1.1.2.28