At 12:11 AM 5/25/00 +0200, David Ponce wrote:
>Hello,
>
>> >In addition I noticed that the Rescan option doesn't seem to work, is
>>
>> Yes, this appears to be a bug. I'm investigating.
>
>It seems that an argument is missing in the call to
>semantic-bovinate-toplevel in the jde-create-imenu-index function
>(jde-parse.el).
>
>Here is the patch I have applied to jde-parse to make Rescan work (see
>attached file).
>
>Sincerely,
>
>David*** jde/lisp/jde-parse.el Wed May 24 06:51:00 2000
>--- jde-parse.el Wed May 24 23:46:18 2000
>***************
>*** 344,350 ****
> (defun jde-create-imenu-index ()
> "Creates an imenu index for a Java source buffer.
> This function uses the semantic bovinator to index the buffer."
>! (let* ((tokens (semantic-bovinate-toplevel nil t))
> (packages (semantic-find-nonterminal-by-token 'package tokens))
> (depends (semantic-find-nonterminal-by-token 'include tokens))
> (classes (semantic-find-nonterminal-by-token 'type tokens))
>--- 344,350 ----
> (defun jde-create-imenu-index ()
> "Creates an imenu index for a Java source buffer.
> This function uses the semantic bovinator to index the buffer."
>! (let* ((tokens (semantic-bovinate-toplevel nil nil t))
> (packages (semantic-find-nonterminal-by-token 'package tokens))
> (depends (semantic-find-nonterminal-by-token 'include tokens))
> (classes (semantic-find-nonterminal-by-token 'type tokens))
>
Thank you, David, for yet another contribution!
Regards,
- Paul