Skip to content

Commit

Permalink
add fix for *pnp/pnp lower case, issue RehabMan#7
Browse files Browse the repository at this point in the history
  • Loading branch information
RehabMan committed May 16, 2014
1 parent 1d7e6f0 commit 2090bf5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .maciasl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
[1.4] Fix _IRC Error syntax/fix_IRC.txt
[1.5] Fix ADBG Error syntax/fix_ADBG.txt
[1.6] Fix PARSEOP_STORE/MMTB Error syntax/fix_MMTB.txt
[1.7] Fix *pnp/pnp lower case Error syntax/fix_HID_pnp.txt
[2.0] == Intel Graphics Patches (HD3000/HD4000) NullPatch.txt
[2.01] HD3000 Low Resolution graphics/graphics_HD3K_low.txt
[2.02] HD3000 High Resolution graphics/graphics_HD3K_high.txt
Expand Down
2 changes: 2 additions & 0 deletions Patches.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
84B9D52716FFE684002CD441 /* README.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = README.txt; sourceTree = "<group>"; };
84BB387218A84B70008690BA /* battery_Surface-Pro-v1.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "battery_Surface-Pro-v1.txt"; path = "battery/battery_Surface-Pro-v1.txt"; sourceTree = "<group>"; };
84C489F118B93BA200061EA3 /* battery_HP-DM4T-1000.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "battery_HP-DM4T-1000.txt"; path = "battery/battery_HP-DM4T-1000.txt"; sourceTree = "<group>"; };
84CAF68C1926C305000EF232 /* fix_HID_pnp.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = fix_HID_pnp.txt; path = syntax/fix_HID_pnp.txt; sourceTree = "<group>"; };
84CD226F18246E1B0076EF62 /* battery_HP-ProBook-Generic.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "battery_HP-ProBook-Generic.txt"; path = "battery/battery_HP-ProBook-Generic.txt"; sourceTree = "<group>"; };
84D170BD180971C500A4C748 /* system_ADP1.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = system_ADP1.txt; path = system/system_ADP1.txt; sourceTree = "<group>"; };
84D447031836DA1B006B6FEA /* battery_Dell-XPS-18.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "battery_Dell-XPS-18.txt"; path = "battery/battery_Dell-XPS-18.txt"; sourceTree = "<group>"; };
Expand All @@ -112,6 +113,7 @@
8455C5E01809953B00F919D7 /* fix_IRC.txt */,
844FAA1318A680B4001F2C6C /* fix_ADBG.txt */,
84E8B501191EB2D2004E7862 /* fix_MMTB.txt */,
84CAF68C1926C305000EF232 /* fix_HID_pnp.txt */,
);
name = "Syntax Errors";
sourceTree = "<group>";
Expand Down
8 changes: 8 additions & 0 deletions syntax/fix_HID_pnp.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#Maintained by: RehabMan for: Laptop Patches
#fix_HID_pnp.txt

# To fix Name(_HID, "*pnpXXXX") and Name(_HID, "pnpXXXX")

into_all all code_regex (Name\s+\(_HID,\s+\")\*pnp(.*\") replaceall_matched begin %1PNP%2 end;
into_all all code_regex (Name\s+\(_HID,\s+\")pnp(.*\") replaceall_matched begin %1PNP%2 end;

0 comments on commit 2090bf5

Please sign in to comment.