| Commit message (Collapse) | Author | Age |
|
|
|
| |
This avoids a naming conflict in NetBSD's libc.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes M4 quotation of certain strings beginning with `yy` (in
section 3 of the input file only) and character literals. The new
quotation method is also less brittle and faster.
Tests that relied on the old behavior were fixed.
Also, `yyconst` is no longer defined; use `const` (which it
unconditionally was defined to) instead.
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
of the result [-Wsign-conversion]
most certainly safe cast
|
| |
|
|
|
|
|
| |
copy_string() was a clone of the stdlib's strdup(). For safety,
simplicity, and speed, we should use that instead. We introduce xstrdup() which wraps strdup() in a failure upon memory allocation errors.
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
| |
clang-3.5.0 now complains about them: warning: 'register' storage class specifier is deprecated [-Wdeprecated-register]
|
|
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.
|