|
|
Re: What is this: " missing EOF at " error? [message #1028728 is a reply to message #1028706] |
Thu, 28 March 2013 16:57 |
Lefteris Skoutaris Messages: 24 Registered: March 2013 |
Junior Member |
|
|
Hello Christian and thank you for your reply.
First line is parsed by:
Type:
scl=SClass msg smn=MessageName '\r\n';
and the rest of the lines by:
File:
fst=Section '\r\n' nxt=File?;
If I remove the Type rule the parser works well as it manages to parse recursively all the lines of the file. E.g. Reads second line (=Section), then changes line (=\r\n) and then again the same etc.
However, when I add the Type rule it alerts me with the EOF error after parsing the first line.
So I thought if I add '\r\n' at the end of first line it would push the parser to start reading the second line and then entering the loop.
[Updated on: Thu, 28 March 2013 16:57] Report message to a moderator
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03462 seconds