1 May 2012 04:44
Re: [scdoc] unexpected end of file
At Mon, 30 Apr 2012 16:46:59 +0200, Jonatan Liljedahl wrote: > But, I tried with a file that ends with private:: and no newline, and it > did work, I thought. But now looking at that file, I realize gedit > appends a newline automatically! And so does nano, the good old terminal > editor I usually use for editing commit messages. Googling suggests that > this is quite common behaviour, and that it is even (or has been > considered) good practice to have a newline after the last line in a > plain text file. > > Anyway, the problem in scdoc was only newline terminated tags, like > private:: or keyword::, since the grammar specifies that they should end > in a newline. I'll change it so that those tags can terminate with eol > OR eof. I see... Emacs does not add newline at the end. In the meantime, I changed my offending schelp file. Another question: is "related::" allowed in an .ext.schelp file? It's used in these two places: quarks/MathLib/HelpSource/Classes/Point.ext.schelp quarks/MathLib/HelpSource/Classes/Polar.ext.schelp But... ERROR: In /home/dlm/.local/share/SuperCollider/Extensions/quarks/MathLib/HelpSource/Classes/Point.ext.schelp: At line 1: syntax error, unexpected RELATED hjh --(Continue reading)
RSS Feed