Description: fix typ0s
Author: <linux@jcf.pm>
Forwarded: https://github.com/skvadrik/re2c/pull/129
Last-Update: 2015-12-21

--- a/bootstrap/doc/re2c.1
+++ b/bootstrap/doc/re2c.1
@@ -94,7 +94,7 @@
 .TP
 .B \fB\-i \-\-no\-debug\-info\fP
 Do not output \fB#line\fP information. This is
-usefull when you want use a CMS tool with the \fBre2c\fP output which you
+useful when you want use a CMS tool with the \fBre2c\fP output which you
 might want if you do not require your users to have \fBre2c\fP themselves
 when building from your source.
 .TP
@@ -288,7 +288,7 @@
 .TP
 .B \fBYYDEBUG (state, current)\fP
 This is only needed if the \fB\-d\fP flag was
-specified. It allows to easily debug the generated parser by calling a
+specified. It allows one to easily debug the generated parser by calling a
 user defined function for every state. The function should have the
 following signature: \fBvoid YYDEBUG (int state, char current)\fP\&. The first
 parameter receives the state or \-1 and the second parameter receives the
@@ -387,7 +387,7 @@
 code units. In fact, when variable\-length encoding is used, \fB*\fP
 is the only possible way to match invalid input character (see \fBENCODINGS\fP for details).
 .sp
-If \fB\-c\fP is active then each regular expression is preceeded by a list
+If \fB\-c\fP is active then each regular expression is preceded by a list
 of comma separated condition names. Besides normal naming rules there
 are two special cases: \fB<*>\fP (such rules are merged to all conditions)
 and \fB<>\fP (such the rule cannot have an associated regular expression,
@@ -478,17 +478,17 @@
 .INDENT 0.0
 .TP
 .B \fBre2c:condprefix = yyc;\fP
-Allows to specify the prefix used for
+Allows one to specify the prefix used for
 condition labels. That is this text is prepended to any condition label
 in the generated output file.
 .TP
 .B \fBre2c:condenumprefix = yyc;\fP
-Allows to specify the prefix used for
+Allows one to specify the prefix used for
 condition values. That is this text is prepended to any condition enum
 value in the generated output file.
 .TP
 .B \fBre2c:cond:divider = "/* *********************************** */";\fP
-Allows to customize the devider for condition blocks. You can use \fB@@\fP
+Allows one to customize the devider for condition blocks. You can use \fB@@\fP
 to put the name of the condition or customize the placeholder using
 \fBre2c:cond:divider@cond\fP\&.
 .TP
@@ -497,7 +497,7 @@
 replaced with the condition name in \fBre2c:cond:divider\fP\&.
 .TP
 .B \fBre2c:cond:goto = "goto @@;";\fP
-Allows to customize the condition goto statements used with \fB:=>\fP style rules. You can use \fB@@\fP
+Allows one to customize the condition goto statements used with \fB:=>\fP style rules. You can use \fB@@\fP
 to put the name of the condition or ustomize the placeholder using
 \fBre2c:cond:goto@cond\fP\&. You can also change this to \fBcontinue;\fP, which
 would allow you to continue with the next loop cycle including any code
@@ -507,14 +507,14 @@
 Spcifies the placeholder that will be replaced with the condition label in \fBre2c:cond:goto\fP\&.
 .TP
 .B \fBre2c:indent:top = 0;\fP
-Specifies the minimum number of indendation to
+Specifies the minimum number of indentation to
 use. Requires a numeric value greater than or equal zero.
 .TP
 .B \fBre2c:indent:string = "\et";\fP
-Specifies the string to use for indendation. Requires a string that should
+Specifies the string to use for indentation. Requires a string that should
 contain only whitespace unless you need this for external tools. The easiest
 way to specify spaces is to enclude them in single or double quotes.
-If you do  not want any indendation at all you can simply set this to "".
+If you do  not want any indentation at all you can simply set this to "".
 .TP
 .B \fBre2c:yych:conversion = 0;\fP
 When this setting is non zero, then \fBre2c\fP automatically generates
@@ -534,7 +534,7 @@
 .TP
 .B \fBre2c:yyfill:check = 1;\fP
 This can be set 0 to suppress output of the
-pre condition using \fBYYCURSOR\fP and \fBYYLIMIT\fP which becomes usefull when
+pre condition using \fBYYCURSOR\fP and \fBYYLIMIT\fP which becomes useful when
 \fBYYLIMIT + YYMAXFILL\fP is always accessible.
 .TP
 .B \fBre2c:define:YYFILL = "YYFILL";\fP
@@ -546,7 +546,7 @@
 body.
 .TP
 .B \fBre2c:define:YYFILL@len = "@@";\fP
-Any occurence of this text
+Any occurrence of this text
 inside of \fBYYFILL\fP will be replaced with the actual argument.
 .TP
 .B \fBre2c:yyfill:parameter = 1;\fP
@@ -571,7 +571,7 @@
 label has been generated.
 .TP
 .B \fBre2c:labelprefix = "yy";\fP
-Allows to change the prefix of numbered
+Allows one to change the prefix of numbered
 labels. The default is \fByy\fP and can be set any string that is a valid
 label.
 .TP
@@ -598,7 +598,7 @@
 .TP
 .B \fBre2c:yych:conversion = 0;\fP
 When the input uses signed characters and
-\fB\-s\fP or \fB\-b\fP switches are in effect re2c allows to automatically convert
+\fB\-s\fP or \fB\-b\fP switches are in effect re2c allows one to automatically convert
 to the unsigned character type that is then necessary for its internal
 single character. When this setting is zero or an empty string the
 conversion is disabled. Using a non zero number the conversion is taken
@@ -613,22 +613,22 @@
 Enumeration used for condition support with \fB\-c\fP mode.
 .TP
 .B \fBre2c:define:YYCTXMARKER = "YYCTXMARKER";\fP
-Allows to overwrite the
+Allows one to overwrite the
 define \fBYYCTXMARKER\fP and thus avoiding it by setting the value to the
 actual code needed.
 .TP
 .B \fBre2c:define:YYCTYPE = "YYCTYPE";\fP
-Allows to overwrite the define
+Allows one to overwrite the define
 \fBYYCTYPE\fP and thus avoiding it by setting the value to the actual code
 needed.
 .TP
 .B \fBre2c:define:YYCURSOR = "YYCURSOR";\fP
-Allows to overwrite the define
+Allows one to overwrite the define
 \fBYYCURSOR\fP and thus avoiding it by setting the value to the actual code
 needed.
 .TP
 .B \fBre2c:define:YYDEBUG = "YYDEBUG";\fP
-Allows to overwrite the define
+Allows one to overwrite the define
 \fBYYDEBUG\fP and thus avoiding it by setting the value to the actual code
 needed.
 .TP
@@ -653,7 +653,7 @@
 \fBYYSETCONDITION\fP body.
 .TP
 .B \fBre2c:define:YYSETCONDITION@cond = "@@";\fP
-Any occurence of this
+Any occurrence of this
 text inside of \fBYYSETCONDITION\fP will be replaced with the actual
 argument.
 .TP
@@ -684,7 +684,7 @@
 \fBYYSETSTATE\fP body.
 .TP
 .B \fBre2c:define:YYSETSTATE@state = "@@";\fP
-Any occurence of this text
+Any occurrence of this text
 inside of \fBYYSETSTATE\fP will be replaced with the actual argument.
 .TP
 .B \fBre2c:define:YYSETSTATE:naked = 0;\fP
@@ -693,29 +693,29 @@
 omitted. If non\-zero, both argument and semicolon are generated.
 .TP
 .B \fBre2c:define:YYLIMIT = "YYLIMIT";\fP
-Allows to overwrite the define
+Allows one to overwrite the define
 \fBYYLIMIT\fP and thus avoiding it by setting the value to the actual code
 needed.
 .TP
 .B \fBre2c:define:YYMARKER = "YYMARKER";\fP
-Allows to overwrite the define
+Allows one to overwrite the define
 \fBYYMARKER\fP and thus avoiding it by setting the value to the actual code
 needed.
 .TP
 .B \fBre2c:label:yyFillLabel = "yyFillLabel";\fP
-Allows to overwrite the name of the label \fByyFillLabel\fP\&.
+Allows one to overwrite the name of the label \fByyFillLabel\fP\&.
 .TP
 .B \fBre2c:label:yyNext = "yyNext";\fP
-Allows to overwrite the name of the label \fByyNext\fP\&.
+Allows one to overwrite the name of the label \fByyNext\fP\&.
 .TP
 .B \fBre2c:variable:yyaccept = yyaccept;\fP
-Allows to overwrite the name of the variable \fByyaccept\fP\&.
+Allows one to overwrite the name of the variable \fByyaccept\fP\&.
 .TP
 .B \fBre2c:variable:yybm = "yybm";\fP
-Allows to overwrite the name of the variable \fByybm\fP\&.
+Allows one to overwrite the name of the variable \fByybm\fP\&.
 .TP
 .B \fBre2c:variable:yych = "yych";\fP
-Allows to overwrite the name of the variable \fByych\fP\&.
+Allows one to overwrite the name of the variable \fByych\fP\&.
 .TP
 .B \fBre2c:variable:yyctable = "yyctable";\fP
 When both \fB\-c\fP and \fB\-g\fP are active then \fBre2c\fP uses this variable to generate a static jump table
@@ -725,7 +725,7 @@
 Deprecated.
 .TP
 .B \fBre2c:variable:yytarget = "yytarget";\fP
-Allows to overwrite the name of the variable \fByytarget\fP\&.
+Allows one to overwrite the name of the variable \fByytarget\fP\&.
 .UNINDENT
 .SS REGULAR EXPRESSIONS
 .INDENT 0.0
@@ -751,10 +751,10 @@
 which can be expressed as character classes.
 .TP
 .B \fBr*\fP
-zero or more occurences of \fBr\fP\&.
+zero or more occurrences of \fBr\fP\&.
 .TP
 .B \fBr+\fP
-one or more occurences of \fBr\fP\&.
+one or more occurrences of \fBr\fP\&.
 .TP
 .B \fBr?\fP
 optional \fBr\fP\&.
@@ -868,7 +868,7 @@
 There are two special rule types. First, the rules of the condition \fB<*>\fP
 are merged to all conditions (note that they have lower priority than
 other rules of that condition). And second the empty condition list
-allows to provide a code block that does not have a scanner part.
+allows one to provide a code block that does not have a scanner part.
 Meaning it does not allow any regular expression. The condition value
 referring to this special block is always the one with the enumeration
 value 0. This way the code of this special rule can be used to
@@ -876,11 +876,11 @@
 sometimes it is helpful to have a dedicated uninitialized condition
 state.
 .sp
-Non empty rules allow to specify the new condition, which makes them
+Non empty rules allow one to specify the new condition, which makes them
 transition rules. Besides generating calls for the define
 \fBYYSETCONDTITION\fP no other special code is generated.
 .sp
-There is another kind of special rules that allow to prepend code to any
+There is another kind of special rules that allow one to prepend code to any
 code block of all rules of a certain set of conditions or to all code
 blocks to all rules. This can be helpful when some operation is common
 among rules. For instance this can be used to store the length of the
@@ -960,7 +960,7 @@
 \fBre2c\fP usually operates on input using pointer\-like primitives
 \fBYYCURSOR\fP, \fBYYMARKER\fP, \fBYYCTXMARKER\fP and \fBYYLIMIT\fP\&.
 .sp
-Generic input API (enabled with \fB\-\-input custom\fP switch) allows to
+Generic input API (enabled with \fB\-\-input custom\fP switch) allows one to
 customize input operations. In this mode, \fBre2c\fP will express all
 operations on input in terms of the following primitives:
 .INDENT 0.0
--- a/src/conf/msg.cc
+++ b/src/conf/msg.cc
@@ -89,7 +89,7 @@
 	"-g     --computed-gotos Implies -b. Generate computed goto code (only useable\n"
 	"                        with gcc).\n"
 	"\n"
-	"-i     --no-debug-info  Do not generate '#line' info (usefull for versioning).\n"
+	"-i     --no-debug-info  Do not generate '#line' info (useful for versioning).\n"
 	"\n"
 	"-o of  --output=of      Specify the output file (of) instead of stdout\n"
 	"\n"
