708y / textbe

Automatically exported from code.google.com/p/textbe
0 stars 0 forks source link

Parser erreo: white char not allowed before some left curly brackets #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It seems like the parser does not like a space in front of left curly braces.

Some of the files in the ATP example have this error.
In some of them, block levels then get confused, so one missing space may cause 
several errors further down.

#P{  compiles fine
#P { does not compile

And then of course this does not compile:
#P
{
    ….
}

In a system where a block is framed by curly brackets, white characters should 
probably be allowed anywhere.
I have a feeling that’s what you would want to..(?)

With a different parser, the examples would be ok, I assume.

textBE as of 19May2011

Original issue reported on code.google.com by oyvind.t...@gmail.com on 20 May 2011 at 7:24

GoogleCodeExporter commented 9 years ago

Original comment by Toby.Myers@gmail.com on 20 May 2011 at 11:35

GoogleCodeExporter commented 9 years ago

Original comment by Toby.Myers@gmail.com on 7 Jul 2011 at 4:19