[erlang-questions] yecc subpattern issue

Robert Virding <>
Sat Dec 27 00:35:16 CET 2008


A quick comment without really studying everything in detail: yecc generated
grammers expect the tokens to have the format:

{Type,TokenLine} or {Type,TokenLine,TokenValue}

So for example some erlang tokens would be {':-', 53}, {atom,46,name} and
{var,32,'Name'}.

>From what I could see in the .xrl file the tokens you returned don't have
that format. This may be the cause of your errors.

Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20081227/d2882799/attachment.html>


More information about the erlang-questions mailing list