<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hmm, the previous code looked like it
came from rbxgoto.cpp. This is your Ragel output.<br>
</div>
<blockquote
cite="mid:1401334985.7361.YahooMailNeo@web160804.mail.bf1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff;
font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
Lucida Grande, sans-serif;font-size:12pt">
<div sab="68"><span sab="69"></span></div>
<div sab="71"><br>
<br>
My command line is Setup to Generate C# code - Note the -A
option</div>
<div sab="71"><br>
</div>
<div sab="71">c:\Ragel\ragel -A -G1 -L -o C:\Ragel\Machine.cs
C:\Ragel\Machine_actions.rl</div>
<div sab="71"><br>
</div>
<div sab="71">Here is a portion of the code it generated. This
is Win7 if it matters. </div>
<div sab="71"><br>
</div>
<div sab="71">#include <stdio.h><br>
#include <string.h></div>
<div sab="71"><br>
/* #line 8 "C:\\Ragel\\Machine.cs" */<br>
const int ASCII_Machine_1_start = 1;<br>
const int ASCII_Machine_1_first_final = 6;<br>
const int ASCII_Machine_1_error = 0;</div>
<div sab="71">const int ASCII_Machine_1_en_main = 1;</div>
<div sab="71"><br>
/* #line 17 "C:/Ragel/Machine_actions.rl" */</div>
<div sab="71">int parse(char* string)<br>
{<br>
int cs;<br>
int res=0;<br>
char *p, *pe;</div>
<div sab="71"> p = string;<br>
pe = p + strlen(string);</div>
<div sab="71"><br>
</div>
<div sab="71">I may be new to all this but it looks like C code
Not C#</div>
<div sab="71">#include files are allowed in C#</div>
<div sab="71">strlen is not a valid Keyword in C# .</div>
<div sab="71"> Am I doing something incorrect in the command
Line ?</div>
<div sab="71"><br>
</div>
<div sab="71">Thanks</div>
<div sab="71"><br>
</div>
<div sab="72">Jerry</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
ragel-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ragel-users@complang.org">ragel-users@complang.org</a>
<a class="moz-txt-link-freetext" href="http://www.complang.org/mailman/listinfo/ragel-users">http://www.complang.org/mailman/listinfo/ragel-users</a></pre>
</blockquote>
<br>
</body>
</html>