JSDOC/TokenReader.vala
authorAlan Knowles <alan@roojs.com>
Fri, 2 Oct 2015 08:56:38 +0000 (16:56 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 2 Oct 2015 08:56:38 +0000 (16:56 +0800)
JSDOC/TokenReader.vala

index 145458c..3ac06aa 100644 (file)
@@ -188,7 +188,7 @@ namespace JSDOC {
         public bool read_word (TextStream stream, TokenArray tokens)
         {
             string found = "";
-            while (!stream.lookEOF() && Lang.isWordChar(stream.look())) {
+            while (!stream.lookEOF() && Lang.isWordChar((string)stream.look())) {
                 found += stream.next();
             }