public override void CaseAOctalConstExp(AOctalConstExp node) { int i = Convert.ToInt32(node.GetOctalLiteral().Text.Substring(1), 8); AIntConstExp intConst = new AIntConstExp(new TIntegerLiteral(i.ToString(), node.GetOctalLiteral().Line, node.GetOctalLiteral().Pos)); node.ReplaceBy(intConst); intConst.Apply(this); }
public override void CaseAOctalConstExp(AOctalConstExp node) { Value += node.GetOctalLiteral().Text; }