#79 Unmatched Text during Lexical Analysis

closed-fixed
semantic (53)
5
2007-02-08
2006-01-24
No

I get the following error when trying to open
/tmp/Ugly.java (see
attached):

| Debugger entered--Lisp error: (error "Unmatched Text
during Lexical Analysis")
| signal(error ("Unmatched Text during Lexical
Analysis"))
| error("Unmatched Text during Lexical Analysis")
| wisent-java-tags-lexer(1 673 nil nil)
| semantic-lex(1 673 nil)
| semantic-parse-region-default(1 673 nil nil nil)
| semantic-parse-region(1 673)
| semantic-fetch-tags()
| jde-parse-semantic-default-setup()
| run-hooks(semantic-init-hooks)
| semantic-new-buffer-fcn()
| run-hooks(mode-local-init-hook)
| #[nil "À ˆÁÂ!‡" [activate-mode-local-bindings
run-hooks mode-local-init-hook] 2]()
| mode-local-map-file-buffers(#[nil "À ˆÁÂ!‡"
[activate-mode-local-bindings run-hooks
mode-local-init-hook] 2] #[nil " =?‡"
[mode-local--init-mode major-mode] 2] (#<buffer
Ugly.java>))
| mode-local-post-major-mode-change()
| run-hooks(find-file-hooks)
| after-find-file(nil t)
| find-file-noselect-1(#<buffer Ugly.java>
"/tmp/Ugly.java" nil nil "/tmp/Ugly.java" (2485737 2050))
| find-file-noselect("/tmp/Ugly.java" nil nil 1)
| find-file("/tmp/Ugly.java" 1)
| * call-interactively(find-file)

Discussion

  • Vadim Nasardinov

    legal java source that semantic chokes on

     
  • Eric M. Ludlam

    Eric M. Ludlam - 2006-05-26
    • labels: --> semantic
    • assigned_to: nobody --> ponced
     
  • Eric M. Ludlam

    Eric M. Ludlam - 2007-02-08
    • status: open --> closed-fixed
     
  • Eric M. Ludlam

    Eric M. Ludlam - 2007-02-08

    Logged In: YES
    user_id=88537
    Originator: NO

    Using

    M-x semantic-lex-debug

    I was able to add a new lexical analyzer to handle silly unicode characteres floating in
    declaration space. If they are used in a symbol or something, they will be summarilly ignored, or cause a parsing error.