Why the parser tell me:!_NEWLINE_![MailParser] :1: expecting...
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Tuesday, December 12, 2000 12:03 PM

Why the parser tell me:
[MailParser] :1: expecting "HELO", found 'H' When a write HELO server ?

My grammar is:

[...]
inicio : "HELO" A CRLF cmd ;
cmd :(
"QUIT" CRLF
|"NOOP" CRLF cmd
|"RSET" CRLF cmd
|"MAIL" FROM A FINID CRLF rcpt_cmd "DATA" CRLF ((A)* CRLF)* FINDATA cmd
);
rcpt_cmd: ( "RCPT" TO A FINID CRLF)+ ;

Thanks a lot

About | Sitemap | Contact