From: dave p. <dpe...@gm...> - 2024-08-28 13:46:35
|
Hi Dirk, C++ style comments are easier to add and remove when editing gpib.conf and any improvement to the error messages is helpful - please send a patch. cheers, -Dave On Mon, 26 Aug 2024 at 16:38, Dirk Niggemann <dir...@gm...> wrote: > 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 > > _______________________________________________ > Linux-gpib-general mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linux-gpib-general > |