JSDOC/Packer.vala
[gnome.introspection-doc-generator] / JSDOC / Lang.vala
index 705deea..db32bc5 100644 (file)
@@ -83,9 +83,17 @@ namespace JSDOC {
         public bool isSpace (string str) {
             return this.whitespaceNames.get(str) != null;
         }
-    
+           public bool isSpaceC (char str) {
+                       var s = str.to_string();
+            return this.whitespaceNames.get(s) != null;
+        }
+        
         public bool isNewline (string str) {
             return this.newlineNames.get(str) != null;
+               }          
+        public bool isNewlineC (char str) {
+               var s =str.to_string();
+            return this.newlineNames.get(s) != null;
         }
            public bool isBoolean (string str) {
                        var ss = str.down();