예제 #1
0
 public void AddTempWarning(var_definition_node vdn, CompilerWarningWithLocation cw)
 {
     List<CompilerWarningWithLocation> lst = (List<CompilerWarningWithLocation>)warns[vdn];
     if (lst == null)
     {
         lst = new List<CompilerWarningWithLocation>();
         warns[vdn] = lst;
     }
     lst.Add(cw);
 }
예제 #2
0
        public void AddTempWarning(var_definition_node vdn, CompilerWarningWithLocation cw)
        {
            List <CompilerWarningWithLocation> lst = (List <CompilerWarningWithLocation>)warns[vdn];

            if (lst == null)
            {
                lst        = new List <CompilerWarningWithLocation>();
                warns[vdn] = lst;
            }
            lst.Add(cw);
        }