예제 #1
0
 public void AddSubregister(NamedSubregister subreg, int?strippedIndex, string specificInstanceName, string subregisterName)
 {
     Subregisters.Add(new SubregisterWithConstraints
     {
         Subregister              = subreg,
         SubregisterName          = subregisterName,
         PeripheralInstanceFilter = specificInstanceName,
         RegisterInstanceFilter   = strippedIndex,
     });
 }
예제 #2
0
 public void HandleOrphanedSubregisterMacro(PreprocessorMacroGroup grp, NamedSubregister subreg)
 {
     lock (_ParseReportWriter._OrphanedSubregisters)
         _ParseReportWriter._OrphanedSubregisters.AddWarning(ShortName, subreg.Name);
 }