JSDOC/TokenStream.vala
authorAlan Knowles <alan@roojs.com>
Wed, 30 Sep 2015 10:12:08 +0000 (18:12 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 30 Sep 2015 10:12:08 +0000 (18:12 +0800)
JSDOC/TokenStream.vala

index 10bde4b..e300f4f 100644 (file)
@@ -275,9 +275,9 @@ namespace JSDOC {
                    return false;
                }
 
-               insertAhead : function(/**JSDOC.Token*/token) {
-                   this.tokens.splice(this.cursor+1, 0, token);
-               },
+               public Gee.ArrayList<Token> insertAhead(Token token) {
+                   this.tokens.splice(this.cursor+1, 0, token); // fixme...
+               }
                 
                remaining : function() {
                    var ret = [];