>  COMMENT at the start of a line (optionally preceded by whitespace) begins a 
> comment.
>  * at the start of a line (optionally preceded by whitespace) begins a 
> comment.
>  In general, comments are terminated by the end of a line.

That would mean that the doc needs to be fixed, since it says at
https://www.gnu.org/software/pspp/manual/html_node/COMMENT.html:

    COMMENT can extend over any number of lines.  Don’t forget to terminate
    it with a dot or a blank line.

I don't fully understand what `segmenter_parse_comment_1__` does in
`src/language/lexer/segment.c` but it seems to suggest that the doc is
right, yet the `t-test.sps` file strongly suggests that the reality
is different.

Could someone enlighten me as to the actual syntax of comments for .sps
files (maybe it's not defined in `src/language/lexer/segment.c` but in
some other file)?


        Stefan


Reply via email to