Example #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,
     });
 }
Example #2
0
 public void HandleOrphanedSubregisterMacro(PreprocessorMacroGroup grp, NamedSubregister subreg)
 {
     lock (_ParseReportWriter._OrphanedSubregisters)
         _ParseReportWriter._OrphanedSubregisters.AddWarning(ShortName, subreg.Name);
 }