[erlang-questions] Leex dot

Robert Virding robert.virding@REDACTED
Fri Dec 8 06:00:24 CET 2006


'.' is supposed to mean any character except newline so what you have 
there may seem wrong. But the characters for each state are not 
independant of all other state, it could depend on your other rules. Do 
you a general white space rule? What actually happens when you run the 
scanner?

Robert

datacompboy wrote:
> Hi guys.
> 
> I have small leex parser, one of state it have is 
> 
> . : YYlen, YYtcs, YYline, {token, {char, YYline, hd(YYtext)}}.
> 
> so i want ALL unknown to rest of parser part traverse to yecc as 'char' atom.
> But generated state is 
> yystate(50, [C|Ics], Line, Tlen, _Action, _Alen) when C >= $
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
> 





More information about the erlang-questions mailing list