From ac9e6c67765b73fd3218fd18a624e1b1ea8d8c70 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 3 Dec 2015 16:22:48 +0800 Subject: [PATCH] JSDOC/TokenStream.vala --- JSDOC/TokenStream.vala | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/JSDOC/TokenStream.vala b/JSDOC/TokenStream.vala index e606091..72a908b 100644 --- a/JSDOC/TokenStream.vala +++ b/JSDOC/TokenStream.vala @@ -41,7 +41,7 @@ namespace JSDOC { /** @type JSDOC.Token */ - public Token? look (int n, bool considerWhitespace) + public Token? look (int n, bool considerWhitespace) // depricated... causes all sorts of problems... { @@ -80,6 +80,10 @@ namespace JSDOC { // return new Token("", "VOID", "STREAM_ERROR"); // because null isn't an object and caller always expects an object } + + + + public int lookFor (string data) { -- 2.39.2