libfsm icon indicating copy to clipboard operation
libfsm copied to clipboard

`lx -l dump` does not define `lgetc` & `getc_opaque` if `-g` is missing

Open silentbicycle opened this issue 7 years ago • 1 comments

If lx -l dump is used without any particular -g flag, it generates a main that declares lgetc and getc_opaque, but doesn't define them, leading to a program that doesn't ever get input.

silentbicycle avatar Jun 09 '18 20:06 silentbicycle

In this case you might want to provide those yourself, although there wouldn't be a prototype in scope. So I don't want to force the generated implementations to be present. Any thoughts?

katef avatar Mar 09 '19 22:03 katef