From: "Stefan Reichör" <stefan@xsteve.at>
To: David Engster <deng@randomsample.de>
Cc: 12568@debbugs.gnu.org
Subject: bug#12568: 24.2.50; semantic parser and python conditional expressions
Date: Mon, 08 Oct 2012 09:18:15 +0200 [thread overview]
Message-ID: <m01uh9toso.fsf@msc-ge.com> (raw)
In-Reply-To: <87fw5r9t48.fsf@engster.org> (David Engster's message of "Sat, 06 Oct 2012 23:40:39 +0200")
Hello David!
> 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
I can confirm that it works for me as well with a freshly compiled emacs.
Thanks for your efforts,
Stefan.
next prev parent reply other threads:[~2012-10-08 7:18 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
2012-10-08 7:18 ` Stefan Reichör [this message]
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=m01uh9toso.fsf@msc-ge.com \
--to=stefan@xsteve.at \
--cc=12568@debbugs.gnu.org \
--cc=deng@randomsample.de \
/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.