|
|
Am 09.02.2017 um 14:43 schrieb ThH:
> File 'A_Scene.pov' line 34: Parse Error: Illegal character in input file,
> value is c2.
> Fatal error in parser: Cannot parse input.
> Render failed
>
> My Question:
>
> How hard would it be to make this more verbose?
>
> Something like in addition print the line with the illegal character
> marked.
Not sure; I'd have to look. It would probably be quite easy to print the
column number, as I think that information is already passed from the
parser to the front-end; the offending line's content, however, is not.
> Here is the line of code povray is complaining about:
>
> object { Special_Box(<0,0,0>,<-1,1,1>,.25,.1) translate x*1 }
The "c2" is probably the start of a multi-byte UTF-8 character,
representing any of the Unicode codepoints from U+00A0 (c2 a0) to U+00BF
(c2 bf). Hot candidates are NO-BREAK SPACE (U+00A0, which looks just
like a regular space) or SOFT HYPHEN (U+00AD, which may look just like a
regular hyphen or be entirely invisble), or maybe CEDILLA (U+00B8, which
might resemble a comma).
Post a reply to this message
|
|