]> granicus.if.org Git - re2c/commit
Use size_t to store the length of path in skeleton.
authorUlya Trofimovich <skvadrik@gmail.com>
Sun, 9 Aug 2015 19:01:52 +0000 (20:01 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Sun, 9 Aug 2015 19:01:52 +0000 (20:01 +0100)
commit4114fe90f60c59780625007240079a22ae15e5dc
treee45baccd173ad1b2f4da09fc8aab63efbbe8d9b1
parent8b235647dcc6f6acc2ed4a2bd579bc677f180d2d
Use size_t to store the length of path in skeleton.

Though this length shouldn't actually excedd 32 bits (othewise
too much data will be generated, and that is checked), it's better
to use size_t and don't care about the order of checks.
re2c/src/codegen/skeleton/path.cc
re2c/src/codegen/skeleton/path.h