summaryrefslogtreecommitdiff
path: root/src/gen.c
Commit message (Collapse)AuthorAge
* warning in generated code, with -Carlar2016-03-31
| | | | warning: conversion to 'yy_state_type' from 'flex_uint32_t' may change the sign of the result [-Wsign-conversion]
* avoid warning in generated code, with -Cfrlar2016-03-28
| | | | warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
* Fixes yyl compare with unsigned warningBastian Köcher2016-03-16
|
* generated code, `max_size' seems to be of type `int', fix casts accordinglyrlar2016-03-12
|
* generated code, `yy_more_len' is of type `int'rlar2016-03-12
|
* cast to suite type of flex_uint32_t td_lolenrlar2016-03-08
|
* avoid warning, add (int) cast to the read() return valuerlar2016-03-01
| | | | For similiarity with the fread() case.
* warning: redundant redeclaration of ‘gen_next_state’ [-Wredundant-decls]rlar2016-02-29
|
* warning: no previous prototype for ‘mkecstbl’ [-Wmissing-prototypes]rlar2016-02-29
|
* Removed some type conversion warningsRobert Larice2016-02-26
|
* Converted K&R style function definitions to ANSI C styleTobias Klauser2016-02-16
| | | | | Consistently make use of the ANSI C function definition style instead of the K&R style.
* Removed more instances of PROTO, ansifying.Michael McConville2015-12-14
|
* Removed macros for indentation level.Michael McConville2015-12-13
| | | | | | | Just increment or decrement the indentation counter. That's less to remember and makes the code more readable. w# Please enter the commit message for your changes. Lines starting
* Removed flex_free()i, corrected buf_destroy logic.Michael McConville2015-12-09
| | | | | | | As with flex_alloc(), replace with direct calls to free(). The function buf_destroy is now null safe and the logic was corrected to free() correctly.
* Remove allocation castsMichael McConville2015-12-07
|
* Switch function definitions from mixed K&R to consistent ANSI C.Stefan Reinauer2015-11-19
| | | | | | | | flex was using K&R function definitions for some functions and ANSI C style in others, sometimes even in the same file. Change the code to consistently use ANSI C. Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
* fix possible resource leak with yynultrans_tblJaska Uimonen2015-08-06
|
* Fix `label unused` warningMariusz Pluciński2014-11-26
|
* NetBSD downstream patches.Christos Zoulas2014-11-11
| | | | | | | | | | | | | | | | const fixes. -Wconversion fixes for the skeleton files. param namespace protection (add _ to inline function parameters). unused variable/code removal. rename warn to lwarn to avoid conflict with <err.h>. ctype.h function argument correction. merged the error functions lerrif and lerrsf -> lerr.
* Removed deprecated 'register' storage class specifier.Yuri2014-07-25
| | | | clang-3.5.0 now complains about them: warning: 'register' storage class specifier is deprecated [-Wdeprecated-register]
* move flex program sources into src/ directoryWill Estes2014-02-16
The *.[chly] sources are now in the src directory. This implies a bunch of changes in Makefile.am and friends to account for the new location. The .gitignore files are now more local to places where various object files and generated source files occur.