CVSROOT: /sources/m4
Module name: m4
Branch: branch-1_4
Changes by: Eric Blake <ericb> 06/08/08 23:17:44
Index: src/input.c
===================================================================
RCS file: /sources/m4/m4/src/Attic/input.c,v
retrieving revision 1.1.1.1.2.18
retrieving revision 1.1.1.1.2.19
diff -u -b -r1.1.1.1.2.18 -r1.1.1.1.2.19
--- src/input.c 4 Aug 2006 13:19:41 -0000 1.1.1.1.2.18
+++ src/input.c 8 Aug 2006 23:17:44 -0000 1.1.1.1.2.19
@@ -535,7 +535,7 @@
while ((ch = next_char ()) != CHAR_EOF && ch != '\n')
;
if (ch == CHAR_EOF)
- /* current_file changed to "NONE" if we see CHAR_EOF, use the
+ /* current_file changed to "" if we see CHAR_EOF, use the
previous value we stored earlier. */
M4ERROR_AT_LINE ((warning_status, 0, file, line,
"Warning: end of file treated as newline"));
@@ -617,7 +617,7 @@
void
input_init (void)
{
- current_file = "NONE";
+ current_file = "";
current_line = 0;
obstack_init (&token_stack);
@@ -806,7 +806,7 @@
if (ch != CHAR_EOF)
obstack_grow (&token_stack, ecomm.string, ecomm.length);
else
- /* current_file changed to "NONE" if we see CHAR_EOF, use the
+ /* current_file changed to "" if we see CHAR_EOF, use the
previous value we stored earlier. */
M4ERROR_AT_LINE ((EXIT_FAILURE, 0, file, line,
"ERROR: end of file in comment"));
@@ -888,7 +888,7 @@
{
ch = next_char ();
if (ch == CHAR_EOF)
- /* current_file changed to "NONE" if we see CHAR_EOF, use
+ /* current_file changed to "" if we see CHAR_EOF, use
the previous value we stored earlier. */
M4ERROR_AT_LINE ((EXIT_FAILURE, 0, file, line,
"ERROR: end of file in string"));