fix spelling errors

This commit is contained in:
zimoch committed 2026-01-06 09:51:04 +01:00
1 parent 58debe99ed
commit 595bb8fb62
157 files changed
+271 -271

No files matched your search

+3 -3
View File
@@ -41,7 +41,7 @@ Changes between 2.3 Patch #2 (02Aug90) and original 2.3 release:
Reordered #ifdef maze in the scanner skeleton in the hope of
getting the declarations right for cfront and g++, too.
- Note that this patch supercedes patch #1 for release 2.3,
- Note that this patch supersedes patch #1 for release 2.3,
which was never announced but was available briefly for
anonymous ftp.
@@ -56,7 +56,7 @@ Changes between 2.3 (full) release of 28Jun90 and 2.2 (alpha) release:
given. To specify an end-of-file action for just the initial
state, use <INITIAL><<EOF>>.
- -d debug output is now contigent on the global yy_flex_debug
- -d debug output is now contingent on the global yy_flex_debug
being set to a non-zero value, which it is by default.
- A new macro, YY_USER_INIT, is provided for the user to specify
@@ -99,7 +99,7 @@ Changes between 2.3 (full) release of 28Jun90 and 2.2 (alpha) release:
- yy_switch_to_buffer() can be used in the yywrap() macro/routine.
- flex scanners do not use stdio for their input, and hence when
writing an interactive scanner one must explictly call fflush()
writing an interactive scanner one must explicitly call fflush()
after writing out a prompt.
- flex scanner can be made reentrant (after a fashion) by using
+1 -1
View File
@@ -341,7 +341,7 @@
- yy_create_buffer( file, size ) takes a <I>FILE</I> pointer and
an integer <I>size</I>. It returns a YY_BUFFER_STATE handle to
a new input buffer large enough to accomodate <I>size</I>
a new input buffer large enough to accommodate <I>size</I>
characters and associated with the given file. When in
doubt, use YY_BUF_SIZE for the size.
+2 -2
View File
@@ -602,7 +602,7 @@ extern void *reallocate_array(void *array, int size, int element_size);
#define reallocate_character_array(array,size) \
(Char *) reallocate_array( array, size, sizeof( Char ) )
#if 0 /* JRW this might couse trouble... but not for IOC usage */
#if 0 /* JRW this might cause trouble... but not for IOC usage */
/* used to communicate between scanner and parser. The type should really
* be YYSTYPE, but we can't easily get our hands on it.
*/
@@ -710,7 +710,7 @@ extern void lerrsf (char[], char[]) NORETURN;
/* spit out a "# line" statement */
extern void line_directive_out (FILE*);
/* generate a data statment for a two-dimensional array */
/* generate a data statement for a two-dimensional array */
extern void mk2data (int);
/* generate a data statement */
+1 -1
View File
@@ -500,7 +500,7 @@ void mkdeftbl(void)
* (i.e., jam entries) into the table. It is assumed that by linking to
* "JAMSTATE" they will be taken care of. In any case, entries in "state"
* marking transitions to "SAME_TRANS" are treated as though they will be
* taken care of by whereever "deflink" points. "totaltrans" is the total
* taken care of by wherever "deflink" points. "totaltrans" is the total
* number of transitions out of the state. If it is below a certain threshold,
* the tables are searched for an interior spot that will accommodate the
* state array.