JSDOC/ScopeParser.vala
authorAlan Knowles <alan@roojs.com>
Fri, 6 Nov 2015 08:32:44 +0000 (16:32 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 6 Nov 2015 08:32:44 +0000 (16:32 +0800)
JSDOC/ScopeParser.vala

index 04cc05a..c2e488e 100644 (file)
@@ -334,7 +334,7 @@ namespace JSDOC {
                     //print('SCOPE-CURLY/PAREN:' + token.toString());
                     //println("<i>"+token.data+"</i>");
                     var curTS = this.ts;
-                    if (token.props) {
+                    if (token.props.size() > 0) {
                         
                         // { a : ... , c : .... }