Skip to content
Permalink
Browse files
fix: (nodejs) Corrects parsing for independence value (#177)
  • Loading branch information
emotionbug committed Jan 21, 2022
1 parent d0175f4 commit 4752cf3c5446e8bcfc50689e072e5baad2fe4984
Showing 1 changed file with 5 additions and 0 deletions.
@@ -168,7 +168,12 @@ class CustomAgTypeListener implements AgtypeListener, ParseTreeListener {
this.objectInsider = []
this.prevObject = undefined
this.lastObject = undefined

if (!this.rootObject) {
this.rootObject = this.lastValue
}
this.lastValue = undefined

return this.rootObject
}

0 comments on commit 4752cf3

Please sign in to comment.