Web: Prune grammar and lexor down to needed subset.

About 60K smaller (20% the target size is these units of 300K).
Over 300 fewer #ifdef.

This adds a new glslang.m4 file that needs to be processed by m4 to get
the glslang.y file needed by bison.  See comment in glslang.m4 for more
detail.

This updates the updateGrammar script to do the .m4 -> .y processing,
to conditionally exclude grammar not needed for the web build.
This commit is contained in:
John Kessenich
2019-08-06 23:16:35 -06:00
parent a28f7a75d1
commit 441b2ac4d1
7 changed files with 9107 additions and 5829 deletions

File diff suppressed because it is too large Load Diff