parser: `build_reduce_table` uses a sequence of add instead of a `.with_items`
authorJean Privat <jean@pryen.org>
Thu, 11 Jun 2015 19:43:33 +0000 (15:43 -0400)
committerJean Privat <jean@pryen.org>
Thu, 11 Jun 2015 19:43:33 +0000 (15:43 -0400)
commit9c646ce6b7b0a2ce23045ce08f3283314ed82e63
treeb4b31b2afbe70f7d20f8626372dc17d8f14bed5d
parentde34fbb9ce4f9dd1cc8f6ba20f0902107f905227
parser: `build_reduce_table` uses a sequence of add instead of a `.with_items`

The big vararg generated produce C code that takes 30m to compile with
clang-3.6 because of a regression (the same code takes less than 1s with
clang-3.5).

Unfortunately, clang-3.6 is currently provided by Apple to MacOS X users.

Signed-off-by: Jean Privat <jean@pryen.org>
src/parser/xss/parser.xss