Menu

#179 Faulty parsing of strings

v0.9.9
closed-fixed
8
2011-04-07
2011-04-07
No

In a language where characters can be escaped (e.g. C/C++, Perl, ...) if the escaping character appears as a literal in the last position of the string, the string delimiter is escaped and the following text is considered part of the string. This leads to an "out-of-sync" condition.

In generic.conf, replace all occurrences of "stay" pattern '\\\\"' by '\\\\.' (and similar for delimiter ').
"Stay" pattern is the third in a category definition.

Discussion

  • Andre-Littoz

    Andre-Littoz - 2011-04-07

    This has now been fixed in CVS.

    If you can install the new version and check that it solves your
    problem, then it would be very useful.

    Thanks for reporting this defect and helping to make LXR better.

     
  • Andre-Littoz

    Andre-Littoz - 2011-04-07

    Generic.conf fixed

     
  • Andre-Littoz

    Andre-Littoz - 2011-04-07
    • status: open --> closed-fixed
     

Log in to post a comment.