mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-25 21:21:14 +00:00
Because the glsl front-end uses Ruamoko to compile its builtins, it needs to switch languages, and the cleanest way to do so is to use a context object that gets passed around. This removes not only the current_language global, but also (as a bonus) any real references to flex's scanner object (there's still a pointer in rua_ctx_t, but it's no longer a parameter (which caused some pain in the change)). |
||
---|---|---|
.. | ||
doc | ||
include | ||
source | ||
test | ||
AUTHORS | ||
Makemodule.am | ||
TODO |