X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=blobdiff_plain;f=JSDOC%2FScopeParser.vala;h=6a95f0f9aedf3af4c938af7f30796c1ed01b7887;hp=097b8981d827b67b7a19afadebd509b18a6bb72d;hb=68c9f5ddef9da272554727632472eb2ca1bf27d1;hpb=ad0942d5e739f7b84cef93741b03a4c1ab8772bc diff --git a/JSDOC/ScopeParser.vala b/JSDOC/ScopeParser.vala index 097b898..6a95f0f 100644 --- a/JSDOC/ScopeParser.vala +++ b/JSDOC/ScopeParser.vala @@ -421,8 +421,8 @@ namespace JSDOC { if (this.ts.lookTok(-1).data == "{" && this.ts.lookTok(1).data == ":") { // then we are in an object lit.. -> we need to flag the brace as such... - isObjectLitAr.pop(); - isObjectLitAr.push(true); + isObjectLitAr.remove_at(isObjectLitAr.size-1); + isObjectLitAr.add(true); //print(">>>>>> OBJLIT REPUSH(true)"); } isInObjectLitAr = isObjectLitAr[isObjectLitAr.length-1];