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

index ff65f5d..eeb6842 100644 (file)
@@ -84,7 +84,8 @@ namespace JSDOC {
             return this.whitespaceNames.get(str) != null;
         }
            public bool isSpaceC (char str) {
-            return this.whitespaceNames.get("" + str) != null;
+                       var s = (string)str;
+            return this.whitespaceNames.get(s) != null;
         }
         public bool isNewline (string str) {
             return this.newlineNames.get(str) != null;