JSDOC/Lang.vala
[gnome.introspection-doc-generator] / JSDOC / Lang.vala
index eeb6842..8fff680 100644 (file)
@@ -87,8 +87,13 @@ namespace JSDOC {
                        var s = (string)str;
             return this.whitespaceNames.get(s) != null;
         }
+        
         public bool isNewline (string str) {
             return this.newlineNames.get(str) != null;
+               }          
+        public bool isNewlineC (char str) {
+               var s = (string) str;
+            return this.newlineNames.get(s) != null;
         }
            public bool isBoolean (string str) {
                        var ss = str.down();