From: Alan Knowles Date: Thu, 10 Sep 2015 10:24:06 +0000 (+0800) Subject: JSDOC/TokenReader.vala X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=8910a70ddd999fb8e3ccefef1692d383d3de6e43 JSDOC/TokenReader.vala --- diff --git a/JSDOC/TokenReader.vala b/JSDOC/TokenReader.vala index ebc19b0..7c45861 100644 --- a/JSDOC/TokenReader.vala +++ b/JSDOC/TokenReader.vala @@ -27,7 +27,7 @@ namespace JSDOC { } return null; } - public Token? lastSym = function() { + public Token? lastSym () { for (var i = this.tokens.length-1; i >= 0; i--) { if (!(this.tokens.get(i).is("WHIT") || this.tokens.get(i).is("COMM"))) { return this.tokens.get(i); @@ -35,6 +35,9 @@ namespace JSDOC { } return null; } + public void push (Token t) { + this.tokens.add(t); + } }