Example #1
0
        public override void Codegen(CIntermediateLang cil, IndentingStringBuilder sb)
        {
            Subscription.Codegen(cil, sb);
            var subTmp = cil.LastUsedVar;

            Pointer.Codegen(cil, sb);
            var sub = string.Format("{0}[{1}]", cil.LastUsedVar, subTmp);

            cil.LastUsedVar = sub;
        }