コード例 #1
0
ファイル: SymTab.cs プロジェクト: wbrowne/Compiler-Design
 public SymbolTable(Parser parser)
 {
     this.parser = parser;
     topScope = null;
     curLevel = -1;
     undefObj = new Obj();
     undefObj.name  =  "undef"; undefObj.type = undef; undefObj.kind = var; undefObj.sort = scalar; undefObj.constval = "0"; undefObj.length = 1;
     undefObj.adr = 0; undefObj.level = 0; undefObj.next = null;
 }
using System;
using System;