texinfo-commits
[Top][All Lists]
Advanced

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

[7042] add test case for closing brace following empty macro argument


From: Gavin D. Smith
Subject: [7042] add test case for closing brace following empty macro argument
Date: Sat, 05 Mar 2016 11:58:30 +0000

Revision: 7042
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7042
Author:   gavin
Date:     2016-03-05 11:58:27 +0000 (Sat, 05 Mar 2016)
Log Message:
-----------
add test case for closing brace following empty macro argument

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/doc/texinfo-tex-test.texi

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2016-03-05 11:53:04 UTC (rev 7041)
+++ trunk/ChangeLog     2016-03-05 11:58:27 UTC (rev 7042)
@@ -1,5 +1,11 @@
 2016-03-05  Gavin Smith  <address@hidden>
 
+       * doc/texinfo-tex-test.texi: Add example with a closing brace 
+       following an empty macro argument.  Update remark about what is 
+       expected for space trimming from macro arguments.
+
+2016-03-05  Gavin Smith  <address@hidden>
+
        * doc/texinfo.tex (\defmacro): Don't attempt to strip spaces at 
        the start of the argument to a macro taking only one argument.  
        This could lead to an error ("Argument of @gobblespaces has an 

Modified: trunk/doc/texinfo-tex-test.texi
===================================================================
--- trunk/doc/texinfo-tex-test.texi     2016-03-05 11:53:04 UTC (rev 7041)
+++ trunk/doc/texinfo-tex-test.texi     2016-03-05 11:58:27 UTC (rev 7042)
@@ -161,6 +161,16 @@
 should address@hidden
 xx e xx
 
address@hidden Closing brace following empty macro argument
+
address@hidden Mac{x}
address@hidden
address@hidden macro
+
address@hidden
+
+AA
+
 @section Trailing newlines in macro bodies
 
 Output should be doubled:
@@ -251,7 +261,7 @@
 <X\a\X\b\X>
 @end macro
 
-No space should appear right after an `X':
+No trimming for single-arg macros.
 
 @noindent @Mac{b} @Mac{ b} @Mac{b  } @Mac{ b }
 




reply via email to

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