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

index 6afd9be..8670566 100644 (file)
@@ -227,15 +227,15 @@ namespace JSDOC {
                 return true;
             }
             
-            if (!this.sepIdents || found.index_of('.') < 0 ) {
+            if (!this.sepIdents || found.index_of(".") < 0 ) {
                 tokens.push(new Token(found, "NAME", "NAME", this.line));
                 return true;
             }
-            var n = found.split('.');
+            var n = found.split(".");
             var p = false;
             foreach (unowned string nm in n) {
                 if (p) {
-                    tokens.push(new Token('.', "PUNC", "DOT", this.line));
+                    tokens.push(new Token(".", "PUNC", "DOT", this.line));
                 }
                 p=true;
                 tokens.push(new Token(nm, "NAME", "NAME", this.line));