Erlang Mailing Lists

Author Message

<  Erlang patches mailing list  ~  Small change to yeccpre.hrl

datacompboy
Posted: Mon Nov 06, 2006 10:14 am Reply with quote
User Joined: 21 Sep 2006 Posts: 69 Location: Novosibirsk, Russia
It be cool, change
yecctoken2string({char,_,C}) -> io_lib:write_char(C);
to
yecctoken2string({char,_,C}) -> io_lib:write_char(C);
yecctoken2string({illegal_char, _, C}) -> ["illegal char '", io_lib:write_char(C), "'"];

Because
illegal char ';'
is more meaningful, than
[59]

_________________
--- suicide proc near\n call death\n suicide endp
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number
datacompboy
Posted: Mon Nov 06, 2006 11:39 am Reply with quote
User Joined: 21 Sep 2006 Posts: 69 Location: Novosibirsk, Russia
PPpppfpfffrrrrrr my big miss. That have no realtion to yecc and parse tools. My wrong leex source :(

_________________
--- suicide proc near\n call death\n suicide endp
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum