bison-patches
[Top][All Lists]
Advanced

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

FYI: master: doc: avoid type aliases


From: Akim Demaille
Subject: FYI: master: doc: avoid type aliases
Date: Sun, 12 Aug 2018 09:41:58 +0200

I installed this.

commit f9a6b34147cefee501864ca7be301368336b7ea5
Author: Akim Demaille <address@hidden>
Date:   Sun Aug 12 09:40:32 2018 +0200

    doc: avoid type aliases
    
    * doc/bison.texi (C++ Location Values): Use 'unsigned' instead of
    'uint'.

diff --git a/doc/bison.texi b/doc/bison.texi
index 470fdc6e..74ad9e5d 100644
--- a/doc/bison.texi
+++ b/doc/bison.texi
@@ -10611,10 +10611,6 @@ in a file, and a @code{location}, a range composed of 
a pair of
 @code{%define} variable @code{api.location.type} is defined, then these
 classes will not be generated, and the user defined type will be used.
 
address@hidden uint
-In this section @code{uint} is an abbreviation for @code{unsigned int}: in
-genuine code only the latter is used.
-
 @menu
 * C++ position::         One point in the source file
 * C++ location::         Two points in the source file
@@ -10624,13 +10620,13 @@ genuine code only the latter is used.
 @node C++ position
 @subsubsection C++ @code{position}
 
address@hidden {Constructor} {position} {} position (std::string* @var{file} = 
0, uint @var{line} = 1, uint @var{col} = 1)
address@hidden {Constructor} {position} {} position (std::string* @var{file} = 
0, unsigned @var{line} = 1, unsigned @var{col} = 1)
 Create a @code{position} denoting a given point.  Note that @code{file} is
 not reclaimed when the @code{position} is destroyed: memory managed must be
 handled elsewhere.
 @end deftypeop
 
address@hidden {position} {void} initialize (std::string* @var{file} = 0, uint 
@var{line} = 1, uint @var{col} = 1)
address@hidden {position} {void} initialize (std::string* @var{file} = 0, 
unsigned @var{line} = 1, unsigned @var{col} = 1)
 Reset the position to the given values.
 @end deftypemethod
 
@@ -10641,7 +10637,7 @@ feature you may change it to @address@hidden using 
@samp{%define
 filename_type "@var{type}"}.
 @end deftypeivar
 
address@hidden {position} {uint} line
address@hidden {position} {unsigned} line
 The line, starting at 1.
 @end deftypeivar
 
@@ -10650,7 +10646,7 @@ If @var{height} is not null, advance by @var{height} 
lines, resetting the
 column number.  The resulting line number cannot be less than 1.
 @end deftypemethod
 
address@hidden {position} {uint} column
address@hidden {position} {unsigned} column
 The column, starting at 1.
 @end deftypeivar
 
@@ -10685,11 +10681,11 @@ Create a @code{Location} from the endpoints of the 
range.
 @end deftypeop
 
 @deftypeop {Constructor} {location} {} location (const position& @var{pos} = 
position())
address@hidden {Constructor} {location} {} location (std::string* @var{file}, 
uint @var{line}, uint @var{col})
address@hidden {Constructor} {location} {} location (std::string* @var{file}, 
unsigned @var{line}, unsigned @var{col})
 Create a @code{Location} denoting an empty range located at a given point.
 @end deftypeop
 
address@hidden {location} {void} initialize (std::string* @var{file} = 0, uint 
@var{line} = 1, uint @var{col} = 1)
address@hidden {location} {void} initialize (std::string* @var{file} = 0, 
unsigned @var{line} = 1, unsigned @var{col} = 1)
 Reset the location to an empty range at the given values.
 @end deftypemethod
 
@@ -13485,7 +13481,7 @@ London, Department of Computer Science, TR-00-12 
(December 2000).
 @c LocalWords: toString deftypeivar deftypeivarx deftypeop YYParser strictfp
 @c LocalWords: superclasses boolean getErrorVerbose setErrorVerbose deftypecv
 @c LocalWords: getDebugStream setDebugStream getDebugLevel setDebugLevel url
address@hidden LocalWords: bisonVersion deftypecvx bisonSkeleton getStartPos 
getEndPos uint
address@hidden LocalWords: bisonVersion deftypecvx bisonSkeleton getStartPos 
getEndPos
 @c LocalWords: getLVal defvar deftypefn deftypefnx gotos msgfmt Corbett LALR's
 @c LocalWords: subdirectory Solaris nonassociativity perror schemas Malloy ints
 @c LocalWords: Scannerless ispell american ChangeLog smallexample CSTYPE CLTYPE




reply via email to

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