[OpenSCAD] Understanding the UTF-8 Lexer

NateTG nate-openscadforum at pedantic.org
Thu Jul 11 22:29:14 EDT 2019


I was looking at src/lexer.l and noticed
122:U       [\x80-\xbf]123:U2      [\xc2-\xdf]124:U3      [\xe0-\xef]125:U4     
[\xf0-\xf4]126:UNICODE {U2}{U}|{U3}{U}{U}|{U4}{U}{U}{U}
I guess U+0080 through U+009F are control codes that are unlikely to occur
but, shouldn't U2 be [\xc0-\xdf]?



--
Sent from: http://forum.openscad.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscad.org/pipermail/discuss_lists.openscad.org/attachments/20190711/acd32fdd/attachment.html>


More information about the Discuss mailing list