Exemplo n.º 1
0
 internal void AddWarning(int code, string msg, LexSpan spn)
 {
     if (spn == null)
     {
         spn = DefaultSpan;
     }
     this.AddError(new Error(code, msg, spn, true)); wrnNum++;
 }
Exemplo n.º 2
0
 internal void AddError(int code, string msg, LexSpan spn)
 {
     if (spn == null)
     {
         spn = DefaultSpan;
     }
     this.AddError(new Error(code, msg, spn, false)); errNum++;
 }