summaryrefslogtreecommitdiff
path: root/src/tables.c
Commit message (Collapse)AuthorAge
* Obsolete yypad64() macro.Explorer092017-11-28
| | | | | | | | | Slightly rewrite the logic in yytbl_data_load() and yytbl_write_pad64() so they simply check if the bytes read/written are in 8-byte boundary. No need to calculate how many bytes we need to pad. (Incidentally this makes smaller code in x86_64.) For yytbl_hdr_init(), just expand the calculation from the macro.
* improve readabilityrlar2016-03-12
|
* tables.c, sprinkle casts to get rid of warningsrlar2016-03-08
|
* yytbl_data_compress(), change type of local newsz to get rid of warningsrlar2016-03-08
|
* change type of struct yytbl_writer.total_written to get rid of warningsrlar2016-03-08
|
* change argument type of yytbl_writen() to get rid of warningsrlar2016-03-08
|
* yytbl_write8/16/32(), change type of local variables to get rid of warningsrlar2016-03-08
|
* add (size_t) casts to malloc invocations to prevent warningsrlar2016-03-01
|
* add (int) casts to some strlen() invocations to prevent warningsrlar2016-02-29
|
* Removed NULL-checks before free()Michael McConville2015-12-09
|
* Made string copying more standard.Michael McConville2015-12-02
| | | | | 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.
* Fix -Wdocumentation warningsAlexis La Goutte2014-11-21
|
* 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.