A quick comment without really studying everything in detail: yecc generated grammers expect the tokens to have the format:<br><br>{Type,TokenLine} or {Type,TokenLine,TokenValue}<br><br>So for example some erlang tokens would be {':-', 53}, {atom,46,name} and {var,32,'Name'}.<br>
<br>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.<br><br>Robert<br><br>