all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#12568: 24.2.50; semantic parser and python conditional expressions
@ 2012-10-03 12:43 Stefan Reichör
  2012-10-06 21:40 ` David Engster
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Reichör @ 2012-10-03 12:43 UTC (permalink / raw
  To: 12568


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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#12568: 24.2.50; semantic parser and python conditional expressions
  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
  0 siblings, 1 reply; 4+ messages in thread
From: David Engster @ 2012-10-06 21:40 UTC (permalink / raw
  To: Stefan Reichör; +Cc: 12568

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#12568: 24.2.50; semantic parser and python conditional expressions
  2012-10-06 21:40 ` David Engster
@ 2012-10-08  7:18   ` Stefan Reichör
  2012-10-08 15:19     ` David Engster
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Reichör @ 2012-10-08  7:18 UTC (permalink / raw
  To: David Engster; +Cc: 12568

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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#12568: 24.2.50; semantic parser and python conditional expressions
  2012-10-08  7:18   ` Stefan Reichör
@ 2012-10-08 15:19     ` David Engster
  0 siblings, 0 replies; 4+ messages in thread
From: David Engster @ 2012-10-08 15:19 UTC (permalink / raw
  To: Stefan Reichör; +Cc: 12568-close

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-10-08 15:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2012-10-08 15:19     ` David Engster

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.