m4-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changes to m4/modules/gnu.c,v


From: Eric Blake
Subject: Changes to m4/modules/gnu.c,v
Date: Mon, 28 Aug 2006 12:48:57 +0000

CVSROOT:        /sources/m4
Module name:    m4
Changes by:     Eric Blake <ericb>      06/08/28 12:48:54

Index: modules/gnu.c
===================================================================
RCS file: /sources/m4/m4/modules/gnu.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -b -r1.51 -r1.52
--- modules/gnu.c       25 Aug 2006 22:06:42 -0000      1.51
+++ modules/gnu.c       28 Aug 2006 12:48:54 -0000      1.52
@@ -49,8 +49,8 @@
   BUILTIN (__line__,   false,  false,  false,  0,      0  )    \
   BUILTIN (__program__,        false,  false,  false,  0,      0  )    \
   BUILTIN (builtin,    false,  true,   false,  1,      -1 )    \
-  BUILTIN (changeresyntax,false,true,  false,  0,      1  )    \
-  BUILTIN (changesyntax,false, true,   false,  0,      -1 )    \
+  BUILTIN (changeresyntax,false,true,  false,  1,      1  )    \
+  BUILTIN (changesyntax,false, true,   false,  1,      -1 )    \
   BUILTIN (debugmode,  false,  false,  false,  0,      1  )    \
   BUILTIN (debugfile,  false,  false,  false,  0,      1  )    \
   BUILTIN (esyscmd,    false,  true,   true,   1,      1  )    \
@@ -349,7 +349,7 @@
 
 
 /**
- * changeresyntax([RESYNTAX-SPEC])
+ * changeresyntax(RESYNTAX-SPEC)
  **/
 M4BUILTIN_HANDLER (changeresyntax)
 {
@@ -360,11 +360,10 @@
 }
 
 
-/* Change the current input syntax.  The function m4_set_syntax () lives
-   in syntax.c.  For compability reasons, this function is not called,
-   if not followed by a SYNTAX_OPEN.  Also, any changes to comment
-   delimiters and quotes made here will be overridden by a call to
-   `changecom' or `changequote'.  */
+/* Change the current input syntax.  The function m4_set_syntax ()
+   lives in syntax.c.  Any changes to comment delimiters and quotes
+   made here will be overridden by a call to `changecom' or
+   `changequote'.  */
 
 /**
  * changesyntax(SYNTAX-SPEC, ...)
@@ -404,7 +403,7 @@
   if (argc == 1)
     m4_debug_set_output (context, NULL);
   else if (!m4_debug_set_output (context, M4ARG (1)))
-    m4_error (context, 0, errno, _("%s: cannot set error file: %s"),
+    m4_error (context, 0, errno, _("%s: cannot set debug file: %s"),
              M4ARG (0), M4ARG (1));
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]