GNU bug report logs - #12568
24.2.50; semantic parser and python conditional expressions

Previous Next

Package: emacs;

Reported by: Stefan Reichör <stefan <at> xsteve.at>

Date: Wed, 3 Oct 2012 12:46:02 UTC

Severity: normal

Found in version 24.2.50

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12568 in the body.
You can then email your comments to 12568 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#12568; Package emacs. (Wed, 03 Oct 2012 12:46:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Reichör <stefan <at> xsteve.at>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 03 Oct 2012 12:46:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefan Reichör <stefan <at> xsteve.at>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.2.50; semantic parser and python conditional expressions
Date: Wed, 03 Oct 2012 14:43:51 +0200
In GNU Emacs 24.2.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10)
 of 2012-09-20 on ubu
Windowing system distributor `The X.Org Foundation', version 11.0.11103000
Configured using:
 `configure '--prefix=/home/srei/prg/stow/emacs''

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)"




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12568; Package emacs. (Sat, 06 Oct 2012 21:42:02 GMT) Full text and rfc822 format available.

Message #8 received at 12568 <at> debbugs.gnu.org (full text, mbox):

From: David Engster <deng <at> randomsample.de>
To: Stefan Reichör <stefan <at> xsteve.at>
Cc: 12568 <at> debbugs.gnu.org
Subject: Re: bug#12568: 24.2.50;
	semantic parser and python conditional expressions
Date: Sat, 06 Oct 2012 23:40:39 +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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12568; Package emacs. (Mon, 08 Oct 2012 07:19:02 GMT) Full text and rfc822 format available.

Message #11 received at 12568 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Reichör <stefan <at> xsteve.at>
To: David Engster <deng <at> randomsample.de>
Cc: 12568 <at> debbugs.gnu.org
Subject: Re: bug#12568: 24.2.50;
	semantic parser and python conditional expressions
Date: Mon, 08 Oct 2012 09:18:15 +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.




bug closed, send any further explanations to 12568 <at> debbugs.gnu.org and Stefan Reichör <stefan <at> xsteve.at> Request was from Chong Yidong <cyd <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 08 Oct 2012 09:33:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12568; Package emacs. (Mon, 08 Oct 2012 15:21:01 GMT) Full text and rfc822 format available.

Message #16 received at 12568-close <at> debbugs.gnu.org (full text, mbox):

From: David Engster <deng <at> randomsample.de>
To: Stefan Reichör <stefan <at> xsteve.at>
Cc: 12568-close <at> debbugs.gnu.org
Subject: Re: bug#12568: 24.2.50;
	semantic parser and python conditional expressions
Date: Mon, 08 Oct 2012 17:19:42 +0200
Stefan Reichör writes:
> I can confirm that it works for me as well with a freshly compiled emacs.

Thanks for testing. I guess the problem was fixed with the recent CEDET
update in Emacs. I'm closing this report then.

-David




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 06 Nov 2012 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 306 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.