]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fparse_partial_sexp): Correct test for element 8 to be
authorDave Love <fx@gnu.org>
Fri, 14 May 1999 09:51:02 +0000 (09:51 +0000)
committerDave Love <fx@gnu.org>
Fri, 14 May 1999 09:51:02 +0000 (09:51 +0000)
non-nil.

src/syntax.c

index af2554b3e850fabb124106b427764a3ba3527ed5..da41de6d5a7911b545c9e2d49f4b9606e522bd15 100644 (file)
@@ -2713,7 +2713,8 @@ DEFUN ("parse-partial-sexp", Fparse_partial_sexp, Sparse_partial_sexp, 2, 6, 0,
                               ? (state.comstyle == ST_COMMENT_STYLE
                                  ? Qsyntax_table : Qt) :
                               Qnil),
-                             Fcons ((state.incomment || state.instring
+                             Fcons (((state.incomment
+                                      || (state.instring >= 0))
                                      ? make_number (state.comstr_start)
                                      : Qnil),
                                     Fcons (state.levelstarts, Qnil))))))))));