cfg.rl: Build with compact table-driven Ragel mode.

This reduces binary size by over 10% and the small hit to
config file parsing performance is insignificant and only
paid once at startup.
This commit is contained in:
Nicholas J. Kain 2023-02-13 00:27:18 -05:00
parent d9e0afdc7c
commit 3ff8685fc6
No known key found for this signature in database
2 changed files with 1802 additions and 11649 deletions

View File

@ -23,7 +23,7 @@ ifchd-parse.c:
ragel -G2 -o ifchd-parse.c ifchd-parse.rl ragel -G2 -o ifchd-parse.c ifchd-parse.rl
cfg.c: cfg.c:
ragel -G2 -o cfg.c cfg.rl ragel -T0 -o cfg.c cfg.rl
ragel: ifchd-parse.c cfg.c ragel: ifchd-parse.c cfg.c

13129
cfg.c

File diff suppressed because it is too large Load Diff