# HG changeset patch # User Michael Pavone # Date 1439431984 25200 # Node ID 6b5096b07dd5d4b33750e2e4c44240aa879ac8df # Parent e44f65abaf0ed42c229d99e4c37a78c06cb66ea3 Lame hack to allow LL dialect code to access the module object when its also the parent of the current object diff -r e44f65abaf0e -r 6b5096b07dd5 cbackend.js --- a/cbackend.js Sun Apr 26 11:16:14 2015 -0700 +++ b/cbackend.js Wed Aug 12 19:13:04 2015 -0700 @@ -127,6 +127,11 @@ symbols = symbols.parent; info = symbols.find(name, false, true); } + if (info && info.type == 'parent') { + //parent reference are not currently supported in the LL dialect + //but parent might refer to a module + info = toplevel.find(name); + } if (!info) { return this.cSafeName(); }