[ragel-users] Potential Bug?

Kevin T. Ryan kevin.t.ryan at gmail.com
Wed Mar 7 21:18:54 UTC 2012


Hi - I think I've run into a bug.  If I create a file like:


#include <stdio.h>

%%{
    machine test;

    main := |*
        [^] { printf("CARET\n"); };
    *|;
}%%

%% write data;

and try to run it with ragel -G2 test.rl -o test.c, ragel crashes.
Changing the line starting with '[^]' to '"^"' fixes the problem, but
I don't think Ragel should crash, but rather print an error message
stating that it encountered invalid input at line xxxx.  ragel -v
gives me:

Ragel State Machine Compiler version 6.7 May 2011
Copyright (c) 2001-2009 by Adrian Thurston

I am on Windows XP.  Hope this is helpful.  Thanks!

ktr

_______________________________________________
ragel-users mailing list
ragel-users at complang.org
http://www.complang.org/mailman/listinfo/ragel-users



More information about the ragel-users mailing list