]> git.draconx.ca Git - cdecl99.git/commit
libcdecl: Remove unused YY_INPUT from scanner.
authorNick Bowler <nbowler@draconx.ca>
Sun, 7 Jan 2024 14:54:31 +0000 (09:54 -0500)
committerNick Bowler <nbowler@draconx.ca>
Sun, 7 Jan 2024 21:00:07 +0000 (16:00 -0500)
commitd349b9bb3fde8fc1d1222d5b7ac8dbbaf6dee230
tree32a1a8b2ac474f22c08d8a0898f9fc1238cfaa81
parent0a1c8a90e23304220f6602e98aba5f891a1350b2
libcdecl: Remove unused YY_INPUT from scanner.

We only scan strings so the code that uses YY_INPUT is never actually
executed, but it still takes space in the library and creates symbol
references to various file I/O functions that have to be resolved at
runtime.

We can provide a stub YY_INPUT to suppress all of this.
lib/local/modules/dx-nls
src/scan.l