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.

Full log


View this message in rfc822 format

From: Stefan Reichör <stefan <at> xsteve.at>
To: David Engster <deng <at> randomsample.de>
Cc: 12568 <at> debbugs.gnu.org
Subject: 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.




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.