CVSROOT: /sources/m4 Module name: m4 Changes by: Eric Blake <ericb> 07/03/03 21:10:24
Index: m4/input.c =================================================================== RCS file: /sources/m4/m4/m4/input.c,v retrieving revision 1.61 retrieving revision 1.62 diff -u -b -r1.61 -r1.62 --- m4/input.c 5 Feb 2007 13:48:11 -0000 1.61 +++ m4/input.c 3 Mar 2007 21:10:24 -0000 1.62 @@ -1180,8 +1180,10 @@ } else if (m4_has_syntax (M4SYNTAX, ch, M4_SYNTAX_SPACE)) { - /* Coalescing newlines when interactive is wrong. */ - if (!m4_get_interactive_opt (context)) + /* Coalescing newlines when interactive or when synclines + are enabled is wrong. */ + if (!m4_get_interactive_opt (context) + && !m4_get_syncoutput_opt (context)) consume_syntax (context, &token_stack, M4_SYNTAX_SPACE); type = M4_TOKEN_SPACE; }