Source

semantic / java.bnf

Diff from to

File java.bnf

     document-comment-line-prefix " *"
     document-comment-end " */"
     ;; speedbar and imenu buckets name
-    semantic-symbol->name-assoc-list '((type     . "Classes")
-                                       (variable . "Variables")
-                                       (function . "Methods")
-                                       (include  . "Imports")
-                                       (package  . "Package"))
+    semantic-symbol->name-assoc-list-for-type-parts
+    ;; In type parts
+    '((type     . "Classes")
+      (variable . "Variables")
+      (function . "Methods"))
+    semantic-symbol->name-assoc-list
+    ;; Everywhere
+    (append semantic-symbol->name-assoc-list-for-type-parts
+            '((include  . "Imports")
+              (package  . "Package")))
     ;; Semantic navigation inside 'type children
     senator-step-at-token-ids '(function variable)
     )
 expression: unary_expression operators_expression_opt
           ;
 
-# End of java.bnf
+# End of java.bnf