826ae21d4a
re2c is a tool for writing very fast and very flexible scanners. re2c focuses on generating high efficient code for regular expression matching. As a result this allows a much broader range of use than any traditional lexer offers. And last but not least re2c generates warning free code that is equal to hand-written code in terms of size, speed and quality. from Stuart Henderson <stu at spacehopper.org>
13 lines
385 B
Plaintext
13 lines
385 B
Plaintext
$OpenBSD: patch-dfa_cc,v 1.1.1.1 2007/05/16 14:10:57 steven Exp $
|
|
--- dfa.cc.orig Mon Apr 16 22:22:28 2007
|
|
+++ dfa.cc Mon May 7 02:01:10 2007
|
|
@@ -12,7 +12,7 @@ void prtChOrHex(std::ostream& o, uint c, bool useTalx)
|
|
{
|
|
int oc = (int)(re2c::wFlag || !useTalx ? c : re2c::talx[c]);
|
|
|
|
- if ((oc < 256) && isprint(oc))
|
|
+ if ((oc < 128) && isprint(oc))
|
|
{
|
|
o << '\'';
|
|
prtCh(o, oc);
|