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

index 705deea..ff65f5d 100644 (file)
@@ -83,7 +83,9 @@ namespace JSDOC {
         public bool isSpace (string str) {
             return this.whitespaceNames.get(str) != null;
         }
-    
+           public bool isSpaceC (char str) {
+            return this.whitespaceNames.get("" + str) != null;
+        }
         public bool isNewline (string str) {
             return this.newlineNames.get(str) != null;
         }