Exemplo n.º 1
0
 public void AddDataDef(DataDef datadef)
 {
     if (data_table [datadef.Name] != null)
     {
         Report.Error("Duplicate global label '" + datadef.Name + "'");
     }
     data_table [datadef.Name] = datadef;
 }
Exemplo n.º 2
0
        public PEAPI.DataConstant GetDataConst(string name)
        {
            DataDef def = (DataDef)data_table [name];

            if (def == null)
            {
                return(null);
            }

            return((DataConstant)def.PeapiConstant);
        }
Exemplo n.º 3
0
 public void AddDataDef (DataDef datadef)
 {
         if (data_table [datadef.Name] != null)
                 Report.Error ("Duplicate global label '" + datadef.Name + "'");
         data_table [datadef.Name] = datadef;
 }