From: David Engster <deng@randomsample.de>
To: "Stefan Reichör" <stefan@xsteve.at>
Cc: 12568@debbugs.gnu.org
Subject: bug#12568: 24.2.50; semantic parser and python conditional expressions
Date: Sat, 06 Oct 2012 23:40:39 +0200 [thread overview]
Message-ID: <87fw5r9t48.fsf@engster.org> (raw)
In-Reply-To: <m0lifn20ag.fsf@msc-ge.com> ("Stefan \=\?iso-8859-1\?Q\?Reich\=F6r\?\= \=\?iso-8859-1\?Q\?\=22's\?\= message of "Wed, 03 Oct 2012 14:43:51 +0200")
Stefan Reichör writes:
> How to reproduce the bug:
> C-x C-f 1.py RET
> M-x semantic-mode RET
>
>>>> file content for 1.py
> etags_cmd = "c:/emacs/bin/etags.exe" if cRunningOnWindows else "etags"
>>>> end file content
>
> This gives the following error:
>
> Idle Parse Error: "#<buffer 1.py> - wisent-python-lexer: endless loop
> at 13, after (STRING_LITERAL 13 . 13)"
I'm afraid I currently cannot reproduce this, using Emacs from bzr,
revno. 110397.
Loading 1.py and enabling semantic-mode does not give me any
error. Also, calling
M-x semantic-lex-test
correctly returns
((NAME 1 . 10)
(ASSIGN 11 . 12)
(STRING_LITERAL 13 . 37)
(IF 38 . 40)
(NAME 41 . 58)
(ELSE 59 . 63)
(STRING_LITERAL 64 . 71)
(NEWLINE 71 . 72))
so the lexer seems to work fine.
-David
next prev parent reply other threads:[~2012-10-06 21:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-03 12:43 bug#12568: 24.2.50; semantic parser and python conditional expressions Stefan Reichör
2012-10-06 21:40 ` David Engster [this message]
2012-10-08 7:18 ` Stefan Reichör
2012-10-08 15:19 ` David Engster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fw5r9t48.fsf@engster.org \
--to=deng@randomsample.de \
--cc=12568@debbugs.gnu.org \
--cc=stefan@xsteve.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.