A fix from Matt Mower.
authorthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>
Wed, 24 Jan 2007 05:22:28 +0000 (05:22 +0000)
committerthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>
Wed, 24 Jan 2007 05:22:28 +0000 (05:22 +0000)
git-svn-id: http://svn.complang.org/ragel/trunk@9 052ea7fc-9027-0410-9066-f65837a77df0

CREDITS
ragel/rlparse.kl
ragel/rlscan.rl

diff --git a/CREDITS b/CREDITS
index d0b5355..d604826 100644 (file)
--- a/CREDITS
+++ b/CREDITS
@@ -22,4 +22,4 @@
     Drai, Matthias Rahlf, Zinx Verituse, Markus W. Weissmann, Marc Liyanage,
     Eric Ocean, Alan West, Steven Kibbler, Laurent Boulard, Jon Oberheide,
     David Helder, Lexington Luthor, Jason Jobe, Colin Fleming, Carlos Antunes,
-    Steve Horne
+    Steve Horne, Matt Mower
index dde23ec..1a4838e 100644 (file)
@@ -22,6 +22,7 @@
 #include "rlparse.h"
 #include "ragel.h"
 #include <iostream>
+#include <errno.h>
 
 using std::cout;
 using std::cerr;
index 7685e70..73dc0f5 100644 (file)
@@ -636,6 +636,7 @@ void Scanner::endSection( )
                [^\/] => { token( RE_Char, tokstart, tokend ); };
        *|;
 
+       # We need a separate token space here to avoid the ragel keywords.
        write_statement := |*
                ident => { token( TK_Word, tokstart, tokend ); } ;
                [ \t\n]+ => { updateCol(); };