aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/bison.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/bison.xml')
-rw-r--r--chapter06/bison.xml39
1 files changed, 26 insertions, 13 deletions
diff --git a/chapter06/bison.xml b/chapter06/bison.xml
index 562fcacf6..1d062e0b1 100644
--- a/chapter06/bison.xml
+++ b/chapter06/bison.xml
@@ -46,33 +46,46 @@ GCC, Gettext, Glibc, Grep, M4, Make, Sed</seg></seglistitem>
</sect2>
-<sect2 id="contents-bison"><title>Contents of Bison</title>
-
-<para><emphasis>Installed programs</emphasis>: bison and yacc</para>
-
-<para><emphasis>Installed library</emphasis>: liby.a</para>
-
-</sect2>
+<sect2 id="contents-bison" role="content"><title>Contents of Bison</title>
+<segmentedlist>
+<segtitle>Installed programs</segtitle>
+<segtitle>Installed library</segtitle>
+<seglistitem><seg>bison and yacc</seg><seg>liby.a</seg></seglistitem>
+</segmentedlist>
-<sect2><title>Short descriptions</title>
+<variablelist><title>Short descriptions</title>
+<varlistentry>
+<term id="bison"><command>bison</command></term>
+<listitem>
<indexterm zone="ch-system-bison bison"><primary sortas="b-bison">bison</primary></indexterm>
-<para id="bison"><command>bison</command> generates, from a series of rules, a program
+<para>generates, from a series of rules, a program
for analyzing the structure of text files. Bison is a replacement for yacc
(Yet Another Compiler Compiler).</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="yacc"><command>yacc</command></term>
+<listitem>
<indexterm zone="ch-system-bison yacc"><primary sortas="b-yacc">yacc</primary></indexterm>
-<para id="yacc"><command>yacc</command> is a wrapper for bison, meant for programs
+<para>is a wrapper for bison, meant for programs
that still call yacc instead of bison. It calls bison with the -y option.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="liby.a"><command>liby.a</command></term>
+<listitem>
<indexterm zone="ch-system-bison liby.a"><primary sortas="c-liby.a">liby.a</primary></indexterm>
-<para id="liby.a"><command>liby.a</command> is the Yacc library containing
+<para>is the Yacc library containing
implementations of Yacc-compatible yyerror and main functions. This library
is normally not very useful, but POSIX requires it.</para>
+</listitem>
+</varlistentry>
+</variablelist>
</sect2>
-
-
</sect1>