1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00

bug 297376: Missing Doxygen commands.

Patch from Marc-Andre Laperle
This commit is contained in:
Andrew Gvozdev 2009-12-26 23:18:53 +00:00
parent 790a689a5c
commit a618ada877
2 changed files with 24 additions and 2 deletions

View file

@ -15,6 +15,8 @@ category,,
class,, class,,
code,, code,,
cond,, cond,,
copybrief,,
copydetails,,
copydoc,, copydoc,,
date,, date,,
def,, def,,
@ -46,8 +48,11 @@ exception,,
f$,, f$,,
f[,, f[,,
f],, f],,
f{,,
f},,
file,, file,,
fn,, fn,,
headerfile,,
hideinitializer,, hideinitializer,,
htmlinclude,, htmlinclude,,
htmlonly,, htmlonly,,
@ -66,6 +71,7 @@ line,,
link,, link,,
mainpage,, mainpage,,
manonly,, manonly,,
memberof,,
msc,, msc,,
n,, n,,
name,, name,,
@ -81,8 +87,14 @@ paragraph,,
param,, param,,
post,, post,,
pre,, pre,,
private,,
privatesection,,
property,, property,,
protected,,
protectedsection,,
protocol,, protocol,,
public,,
publicsection,,
ref,, ref,,
relates,, relates,,
relatesalso,, relatesalso,,
@ -103,14 +115,24 @@ subsubsection,,
test,, test,,
throw,, throw,,
todo,, todo,,
tparam,,
typedef,, typedef,,
union,, union,,
until,, until,,
var,, var,,
verbatim,, verbatim,,
verbinclude,, verbinclude,,
version,, version,Starts a paragraph where one or more version strings may be entered.,
warning,, warning,,
weakgroup,, weakgroup,,
xmlonly,, xmlonly,,
xrefitem,, xrefitem,,
&,,
@,,
\,,
~,,
<,,
>,,
#,,
%,,
",,
Can't render this file because it contains an unexpected character in line 138 and column 4.

View file

@ -54,7 +54,7 @@ public class DoxygenHelper extends AbstractPreferenceInitializer {
for(String line= br.readLine(); line!=null; line= br.readLine()) { for(String line= br.readLine(); line!=null; line= br.readLine()) {
content.append(line+"\n"); //$NON-NLS-1$ content.append(line+"\n"); //$NON-NLS-1$
} }
String[] values= content.toString().split("(\\s)*,(\\s)*"); //$NON-NLS-1$ String[] values= (content.toString()+"dummy-for-split").split("(\\s)*,(\\s)*"); //$NON-NLS-1$ //$NON-NLS-2$
for(int i=0; i+1<values.length; i+=2) { for(int i=0; i+1<values.length; i+=2) {
temp.add(new GenericDocTag(values[i], values[i+1])); temp.add(new GenericDocTag(values[i], values[i+1]));