[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: Both: Refcard
From: |
Akim Demaille |
Subject: |
FYI: Both: Refcard |
Date: |
02 Nov 2001 18:18:14 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence) |
I'd like to have your opinion on what should get in, what should not.
Here is what I'm checking in. I don't think --vcg etc. need to get
in.
Index: ChangeLog
from Akim Demaille <address@hidden>
* doc/refcard.tex: Update.
Index: doc/refcard.tex
===================================================================
RCS file: /cvsroot/bison/bison/doc/refcard.tex,v
retrieving revision 1.1
diff -u -u -u -w -r1.1 refcard.tex
--- doc/refcard.tex 1999/10/27 21:05:41 1.1
+++ doc/refcard.tex 2001/11/02 17:16:04
@@ -19,7 +19,7 @@
\def\finalout{\overfullrule=0pt}
%\finalout
-% Copyright (c) 1998 Free Software Foundation, Inc.
+% Copyright (c) 1998, 2001 Free Software Foundation, Inc.
%
% This file is part of Bison.
%
@@ -66,11 +66,11 @@
% We only change the following to change the version numbers and
% such.
-\def\bisonversion{1.20} % the bison version
+\def\bisonversion{1.31} % the bison version
-\def\refcardversion{0.4a} % reference card version
-\def\month{August} % month
-\def\year{1998} % year
+\def\refcardversion{0.5} % reference card version
+\def\month{November} % month
+\def\year{2001} % year
\def\version{\month\ \year, Bison Refcard Version \refcardversion}
% for copyright notices
@@ -316,7 +316,10 @@
\section{Command Line Options}
%*****************************
+\key{Display usage information.} {-h}
+\key{Display version information.} {-V}
\key{Generate token and {\tt YYSTYPE} definitions.} {-d}
+\key{Prepend a prefix to external symbols.} {-p {\it prefix}}
\key{Don't put {\tt \#line} directives in the parser.} {-l}
\key{Specify the output file.} {-o {\it filename}}
\key{Debug or {\it trace} mode.} {-t}
@@ -362,8 +365,8 @@
\vskip .10truein
The {\tt <{\it t\/}>} after {\tt \%token, \%left, \%right} and {\tt
-\%nonassoc} is optional. Additionally, precedence may be overridden with
-embedded {\tt \%prec} commands.
+ \%nonassoc} is optional. Additionally, precedence may be overridden
+in the rules with {\tt \%prec} commands.
\section{Parser Definition Files}
%*********************************
@@ -397,6 +400,7 @@
Rules take the form:
+\vskip -\baselineskip
\beginexample
non-terminal : {\it statement} 1
| {\it statement} 2
@@ -439,15 +443,17 @@
\key{Access data associated with a symbol.} {\$\$, \$0\dots\${\it n}}
\key{Access a field of the data union.} {\$\$.{\it t},
\$0.{\it t}\dots\${\it n}.{\it t}}
-\key{Access data's line position.} address@hidden n}.{\it line\_spec}}
-\key{Access data's column position.} address@hidden n}.{\it
column\_spec}}
+\key{Access symbol's location.} address@hidden, @address@hidden n}}
+\key{Access data's line location.} address@hidden x}.{\it line\_spec}}
+\key{Access data's column location.} address@hidden x}.{\it
column\_spec}}
\vskip .10truein
+%
Where {\it t} is a type defined in the {\tt \%union}, {\it n} is a
-number, {\it line\_spec} one of {\tt first_line} and {\tt last_line},
-and {\it column\_spec} is specified as either {\tt first_column} or {\tt
-last_column}.
+number, {\it x} is a number or \$, {\it line\_spec} one of {\tt
+ first_line} and {\tt last_line}, and {\it column\_spec} is specified
+as either {\tt first_column} or {\tt last_column}.
\section {Variables and Types}
%*****************************
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: Both: Refcard,
Akim Demaille <=