[erlang-questions] Converting to new leex

Robert Virding rvirding@REDACTED
Fri Aug 28 00:57:25 CEST 2009


2009/8/27 Attila Rajmund Nohl <attila.r.nohl@REDACTED>

> Hello!
>
> I have some old code using an old leex version like this:
>
> S = lists:sublist(YYtext, 2, YYlen - 2)
>
> I know that I have to replace YYtext with TokenChars, but what shall I
> use instead of YYlen?


TokenLen and the line number is in TokenLine.

Robert


More information about the erlang-questions mailing list