jannick0

Results 31 comments of jannick0

What about something like `sed ':a;N;$!ba;s/(\r\n|\r)/\n/g'` using `sed` address ranges to normalize EOLs at some stage(s) of `mkskel.sh`?

Umm - then what about using `gawk` to remember the EOL structure of `flex.skl` as is? ```awk # mkskel.awk # sample call: gawk -f ./mskel.awk flex.skl > skel1.c BEGIN{ oRS...

Ok, in this package [mkskel.zip](https://github.com/westes/flex/files/1565809/2017-12-17_mkskel.zip) I tried to put together a POSIX compliant awk script which should do the trick that output EOL are identical to either input file EOL...

@Explorer09 That looks good for LF and CRLF files where `sed` from cygwin32 and msys2 is called. I cannot say anything about CR files, since I am on Windows, but...

Sorry for my ignorance: Why not simply amending the definition of the macro `yy_set_interactive` using the m4 variables `M4_YY_PROTO_LAST_ARG` and `M4_YY_DECL_GUTS_VAR` already defined in `flex.skl`? [EDIT] ... like so? ```diff...

@Explorer09 Agree, but the issue then becomes a philosophical one, namely if the implementation should prefer macros (as is essentially right now) or functions. Using a wrapper would a way...

Again, using macros or functions is a question of coding style which is not my business here, supposedly rather the package maintainer's. Other issues about how to use macros are...

Memory leakage issue confirmed and that the proposed commit remedies it. Appears to be in the world for decades now. Currently only the top buffer is freed up, all others...

I am traveling until 18.12.2023. Happy to look at this after my return when I can check things properly. Helps?

As a temporary workaround the path to the template can be passed to ˋlemonˋ on the command line overriding the built-in default search process.