[ragel-users] What am I missing
RU
ragel-user at jgoettgens.de
Thu May 29 04:49:45 UTC 2014
Hmm, the previous code looked like it came from rbxgoto.cpp. This is your Ragel output.
>
>
> My command line is Setup to Generate C# code - Note the -A option
>
> c:\Ragel\ragel -A -G1 -L -o C:\Ragel\Machine.cs C:\Ragel\Machine_actions.rl
>
> Here is a portion of the code it generated. This is Win7 if it matters.
>
> #include <stdio.h>
> #include <string.h>
>
> /* #line 8 "C:\\Ragel\\Machine.cs" */
> const int ASCII_Machine_1_start = 1;
> const int ASCII_Machine_1_first_final = 6;
> const int ASCII_Machine_1_error = 0;
> const int ASCII_Machine_1_en_main = 1;
>
> /* #line 17 "C:/Ragel/Machine_actions.rl" */
> int parse(char* string)
> {
> int cs;
> int res=0;
> char *p, *pe;
> p = string;
> pe = p + strlen(string);
>
> I may be new to all this but it looks like C code Not C#
> #include files are allowed in C#
> strlen is not a valid Keyword in C# .
> Am I doing something incorrect in the command Line ?
>
> Thanks
>
> Jerry
>
>
> _______________________________________________
> ragel-users mailing list
> ragel-users at complang.org
> http://www.complang.org/mailman/listinfo/ragel-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.colm.net/pipermail/ragel-users/attachments/20140529/6f9e9e31/attachment-0001.html>
-------------- next part --------------
_______________________________________________
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