bison-patches
[Top][All Lists]
Advanced

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

[PATCH 2/4] doc: style changes


From: Akim Demaille
Subject: [PATCH 2/4] doc: style changes
Date: Tue, 9 Apr 2013 17:27:44 +0200

* doc/bison.texi (Destructor Decl, Printer Decl): Group series of %token
and %type together.
---
 doc/bison.texi | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/doc/bison.texi b/doc/bison.texi
index 2ed10c2..6f50658 100644
--- a/doc/bison.texi
+++ b/doc/bison.texi
@@ -4990,10 +4990,8 @@ For example:
 
 @example
 %union @{ char *string; @}
-%token <string> STRING1
-%token <string> STRING2
-%type  <string> string1
-%type  <string> string2
+%token <string> STRING1 STRING2
+%type  <string> string1 string2
 %union @{ char character; @}
 %token <character> CHR
 %type  <character> chr
@@ -5119,10 +5117,8 @@ For example:
 
 @example
 %union @{ char *string; @}
-%token <string> STRING1
-%token <string> STRING2
-%type  <string> string1
-%type  <string> string2
+%token <string> STRING1 STRING2
+%type  <string> string1 string2
 %union @{ char character; @}
 %token <character> CHR
 %type  <character> chr
-- 
1.8.2




reply via email to

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