| Commit message (Collapse) | Author | Age |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
For similiarity with the fread() case.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
[-Wparentheses]
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
rename these too for improved similiarity:
OPTION_OP OPT_HEADER OPT_EXTRA_TYPE OPT_TABLES
|
|
|
|
|
|
| |
these collide:
OPT_OUTFILE OPT_PREFIX OPT_YYCLASS
rename them TOK_... in the parser
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
[-Wsign-conversion]
|
|
|
|
|
|
| |
of the result [-Wsign-conversion]
most certainly safe cast
|
|
|
|
|
|
| |
value [-Wconversion]
ch seems to have been checked for proper range some lines above
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
The variable yy_n_chars had been of type yy_size_t which is incorrect
given its use in read(). While it might be adviseable to look at
defining a yy_ssize_t, there might be some issues doing this and so, for
now, at least, we'll punt back to int.
|
|
|
|
| |
The value of n_alloc was a count, not a size. Multiplying the value by the element size was incorrect. That multiplication was already being done and having it done twice was incorrect.
|
|
|
|
|
|
|
| |
Allow specifying '%option noline' in the input file, leading to the same
effect as calling flex with the command line option --noline.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
|
|
|
|
|
|
|
|
| |
There are two instances in the code which will print a #line directive
to the resulting lexer, regardless of the value of gen_line_dirs. Fix
them, so they also respect gen_line_dirs.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
|
|
|
|
|
| |
Consistently make use of the ANSI C function definition style instead of
the K&R style.
|