<html>
<head>
<base href="http://fiji.sc/bugzilla/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:ctrueden@wisc.edu" title="Curtis Rueden <ctrueden@wisc.edu>"> <span class="fn">Curtis Rueden</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEEDSINFO "
title="NEEDSINFO - Script editor attempts to parse @ in /* comments */ as parameters"
href="http://fiji.sc/bugzilla/show_bug.cgi?id=921">bug 921</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>ctrueden@wisc.edu
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDSINFO "
title="NEEDSINFO - Script editor attempts to parse @ in /* comments */ as parameters"
href="http://fiji.sc/bugzilla/show_bug.cgi?id=921#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEEDSINFO "
title="NEEDSINFO - Script editor attempts to parse @ in /* comments */ as parameters"
href="http://fiji.sc/bugzilla/show_bug.cgi?id=921">bug 921</a>
from <span class="vcard"><a class="email" href="mailto:ctrueden@wisc.edu" title="Curtis Rueden <ctrueden@wisc.edu>"> <span class="fn">Curtis Rueden</span></a>
</span></b>
<pre>Another possibility would be to tweak the parameter annotation mechanism to
have a leading line, and a trailing line, marking the start and end of the
annotations, respectively. Something like:
// @@@
// @String name
// @OUTPUT String greeting
// @@@
That would reduce the chance of comments being misinterpreted.
Another possible solution would be to only respect the "until end of line"
style comments for parameters. So:
// @author name
Would be a parameter, but:
/*
* @author name
*/
Would not, because it does not start with "//"
Mark and I discussed adding a "getCommentString" to the ScriptLanguage
interface which would facilitate this sort of parsing.
Stephan, any other suggestions to improve this?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>