hyperrealm / libconfig

C/C++ library for processing configuration files
https://hyperrealm.github.io/libconfig/
GNU Lesser General Public License v2.1
1.1k stars 359 forks source link

add \a \b \v for correct escaping #223

Closed fe-dagostino closed 6 months ago

fe-dagostino commented 1 year ago

Please review or regenerate both scanner.c and scanner.h with your lex since I saw some difference with the version I have that is flex 2.6.4 .

fe-dagostino commented 1 year ago

Updated libconfig.texi with those little changes.

Linux user here ! are you using to pass some options? I had to modify it manually in order to get it working, was fast but unusual.

hyperrealm commented 1 year ago

The makefile regenerates the scanner.c and scanner.h automatically, and the options to flex are inside scanner.l.

Not sure why this isn't working for you, but how about you revert those generated files, then we'll merge your change and I'll regenerate them.

fe-dagostino commented 1 year ago

Hi Mark, to achieve that I guess the best way is to overwrite new scanner.c and scanner.h with old version using a new commit. Then try to generate both with the makefile. I think you have write access to my fork, otherwise I will do it tomorrow since now I'm from mobile.

fe-dagostino commented 1 year ago

Hi Mark, done! you can now merge and regenerate in your environment.