]> granicus.if.org Git - re2c/commit
With '--skeleton', store input data in binary form (rather than C/C++ code).
authorUlya Trofimovich <skvadrik@gmail.com>
Sat, 5 Sep 2015 08:39:28 +0000 (09:39 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Sat, 5 Sep 2015 08:39:28 +0000 (09:39 +0100)
commitc17f717d2114063c9cdf4e00b83884ff62cb6e81
tree42733223e30bd08225b7e7db5f646788c27bf50a
parent0af40d147b1b4d525c90d61cd1b9274a746922e7
With '--skeleton', store input data in binary form (rather than C/C++ code).

There's a limitation on the size of input files for C/C++ compiler and
the compiled binary will have to contain all that data (and thus may grow
very large).

Storing data in binary form and reading it from file dynamically is
the way it should be.
re2c/src/codegen/emit_action.cc
re2c/src/codegen/skeleton/generate_code.cc
re2c/src/codegen/skeleton/generate_data.cc
re2c/src/codegen/skeleton/skeleton.h