[ragel-users] Typo in the figure above section 2.5.7

Peng Yu pengyu.ut at gmail.com
Fri Feb 22 12:04:27 UTC 2019


On 2/22/19, Dan Kortschak <dan at kortschak.io> wrote:
> '\n' (LF) is 10 in ASCII. Ragel doesn't retain the syntactic
> representation of the value that match is again (though it can render
> the character value as well as the numeric value).
>
> Dan
>
> On Fri, 2019-02-22 at 01:44 -0600, Peng Yu wrote:
>> In the figure above section 2.5.7 (ragel-guide-6.10.pdf), I see "10"
>> on the arrow going from the state of "0" to the state of "0".
>>
>> I think "10" should be "\n" as "10" appear nowhere in the rule `main
>> := /[a-z]*\n/*;`.
>>
>> Is it a typo?
>>
>
> _______________________________________________
> ragel-users mailing list
> ragel-users at colm.net
> http://www.colm.net/cgi-bin/mailman/listinfo/ragel-users


-- 
Regards,
Peng



More information about the ragel-users mailing list