Re: xrefdb/semantic overlay bug
vedm <[email protected]>
| Newsgroups | gmane.emacs.jdee,gmane.emacs.cedet |
|---|---|
| Message-ID | <[email protected]> |
"Eric M. Ludlam" <[email protected]> writes: > Hi, > > I used the example below, put it in a java file, then put the cursor > on the 'main' method, and typed: > > M-x semantic-test-all-format-tag-functions > > and the piece I got was: > > semantic-format-tag-prin1: > ("main" function (:typemodifiers ("public" "static") > :arguments (("args" variable (:type "String[]") > (... blah blah blah))))) > > with the [] on String. In run I get as you suggest. > > I suspect this is related to line 722 in > cedet/semantic/wisent/wisent-java-tags.wy where [] is appended to > wherever this thing comes from. > > I don't know enough of Java to know if: > > String[] args > > is different from > > String args[] These two forms express absolutely the same meaning, there is no difference at all. Both of them mean that "args" is an array of Strings. -- vedm