From: Dirk N. <dir...@gm...> - 2024-08-26 14:38:15
|
Hi, I modified the lexical analyzer for gpib.conf (ibConfLex.l) to support C++ style comments (// to end of line is a comment). The only real reason for doing it is that the output from gpib_config is totally unhelpful when you use this comment style not knowing any better and it breaks. Is the file modelled on any other system that this would be totally incompatible with? I‘m also thinking of going in and dealing with stray characters in the debug/error output as well since the parser seems very brittle and just tells you you have an error at line 0 when a stray character (like ‘/‘ from an incorrectly used c++ comment) turns up… Is there any value to this and should I submit a patch? Regards, Dirk Niggemann |