[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fwd: [ELPA] New package: pspp-mode.el for PSPP/SPSS syntax highlight
From: |
Ben Pfaff |
Subject: |
Re: Fwd: [ELPA] New package: pspp-mode.el for PSPP/SPSS syntax highlighting |
Date: |
Sun, 5 Jul 2020 10:17:41 -0700 |
On Sun, Jul 5, 2020 at 7:59 AM Stefan Monnier <monnier@iro.umontreal.ca> wrote:
> > 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)?
I think that my parallel contribution to the thread here explains this,
but if not then please do ask for clarification.
- Re: Fwd: [ELPA] New package: pspp-mode.el for PSPP/SPSS syntax highlighting, John Darrington, 2020/07/04
- Re: [ELPA] New package: pspp-mode.el for PSPP/SPSS syntax highlighting, Friedrich Beckmann, 2020/07/05
- Re: [ELPA] New package: pspp-mode.el for PSPP/SPSS syntax highlighting, John Darrington, 2020/07/05
- Re: [ELPA] New package: pspp-mode.el for PSPP/SPSS syntax highlighting, Sean Whitton, 2020/07/05
- Re: [ELPA] New package: pspp-mode.el for PSPP/SPSS syntax highlighting, Friedrich Beckmann, 2020/07/05
- Re: [ELPA] New package: pspp-mode.el for PSPP/SPSS syntax highlighting, John Darrington, 2020/07/05
- Re: [ELPA] New package: pspp-mode.el for PSPP/SPSS syntax highlighting, tomas, 2020/07/05
- Re: [ELPA] New package: pspp-mode.el for PSPP/SPSS syntax highlighting, Sean Whitton, 2020/07/05