Quantcast
Channel: gplex Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 33

Commented Issue: Null character \0 is not recognized [11308]

$
0
0
Add to your lex file a rule that matches null character

\0 whatever....

gplex will crash with exception:

Unhandled Exception: System.IndexOutOfRangeException: Array index is out of range.
at QUT.Gplex.Parser.CharacterUtilities.EscapedChar (System.String source, System.Int32& index) [0x00000] in :0
Comments: ** Comment from web user: k_john_gough **

Hi macias

Yes, this one is a bug. There are tests with literal "\0" characters in the pattern, but not at the end of the pattern. Thanks for turning this up. I have committed the change, and it will go into the next refresh along with a couple of other changes including labelling the generated code files to keep fxcop happy (happier).


Viewing all articles
Browse latest Browse all 33

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>