[armedbear-cvs] r13332 - trunk/abcl/src/org/armedbear/lisp

mevenson at common-lisp.net mevenson at common-lisp.net
Thu Jun 16 05:25:25 UTC 2011


Author: mevenson
Date: Wed Jun 15 22:25:24 2011
New Revision: 13332

Log:
Expand the Java docstring annotation to include a separate field for return values.

The use of the "arg1 arg1 => return-value1, [return-value2 ...]"
caused problems with interpolating the value of the DocString.args as
a list of symbols as the commas have no matching backquote operator.

Modified:
   trunk/abcl/src/org/armedbear/lisp/DocString.java

Modified: trunk/abcl/src/org/armedbear/lisp/DocString.java
==============================================================================
--- trunk/abcl/src/org/armedbear/lisp/DocString.java	Wed Jun 15 11:17:12 2011	(r13331)
+++ trunk/abcl/src/org/armedbear/lisp/DocString.java	Wed Jun 15 22:25:24 2011	(r13332)
@@ -45,6 +45,8 @@
     public String name() default "";
     /** The arguments. */
     public String args() default "";
+    /** The return value(s) of a function */
+    public String returns() default "";
     /** The documentation string. */
     public String doc() default "";
 }




More information about the armedbear-cvs mailing list