Menu

Commit [r13084]  Maximize  Restore  History

C# back end: resolve decode_cmd_type locally

libLEX_CSNEW.so shipped with an unresolved symbol. decode_cmd_type is only
called when the generator reports an unreachable statement after a RETURN, so
the plug-in loaded normally and then died part way through a module with

libLEX_CSNEW.so: undefined symbol: decode_cmd_type

leaving a half written output file behind.

fgl_enums.c and fgl_enums.h are copied here from lex_esqlc rather than linked
from it: the lex plug-ins are built and shipped independently, so one must not
depend on another's objects. The enums come from the shared compiler headers,
so the two copies cannot drift apart silently - a new enumerator makes both
fail to build in the same way.

mikeaubury 2026-09-05

changed /aubit4glsrc/trunk/lib/liblex/lex_cs/Makefile
added /aubit4glsrc/trunk/lib/liblex/lex_cs/fgl_enums.c
added /aubit4glsrc/trunk/lib/liblex/lex_cs/fgl_enums.h
/aubit4glsrc/trunk/lib/liblex/lex_cs/Makefile Diff Switch to side-by-side view
Loading...
/aubit4glsrc/trunk/lib/liblex/lex_cs/fgl_enums.c Diff Switch to side-by-side view
Loading...
/aubit4glsrc/trunk/lib/liblex/lex_cs/fgl_enums.h Diff Switch to side-by-side view
Loading...