Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: Eric M. Ludlam <eric@si...> - 2002-09-15 12:36:06
I've made the following patch to semantic-lex:
*** semantic-lex.el.~1.10.~ Thu Sep 5 17:42:46 2002
--- semantic-lex.el Sun Sep 15 07:55:18 2002
*** 482,487 ****
--- 482,489 ----
(while (and (< (point) end)
(or (not length) (<= (length token-stream) length)))
+ (when (eq end-point start)
+ (error "Lexical Analyzer: potential hang detected"))
;; Return to where we started.
;; Do not wrap in protective stuff so that if there is an error
in the hopes it can find the class of bug recently uncovered with
David's semantic grammar lexer. Is there any reason we want start
and end to be the same after a single analysis?
Eric Ludlam: zappo@..., eric@...
Home: http://www.ludlam.net Siege: http://www.siege-engine.com
Emacs: http://cedet.sourceforge.net GNU: http://www.gnu.org