diff options
Diffstat (limited to 'src/WixToolset.Core/Compiler.cs')
-rw-r--r-- | src/WixToolset.Core/Compiler.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/WixToolset.Core/Compiler.cs b/src/WixToolset.Core/Compiler.cs index 6cc3a2e8..2ef85ff0 100644 --- a/src/WixToolset.Core/Compiler.cs +++ b/src/WixToolset.Core/Compiler.cs | |||
@@ -6405,7 +6405,7 @@ namespace WixToolset.Core | |||
6405 | { | 6405 | { |
6406 | var sourceLineNumbers = Preprocessor.GetSourceLineNumbers(node); | 6406 | var sourceLineNumbers = Preprocessor.GetSourceLineNumbers(node); |
6407 | Identifier id = null; | 6407 | Identifier id = null; |
6408 | InifFileActionType? action = null; | 6408 | IniFileActionType? action = null; |
6409 | string directory = null; | 6409 | string directory = null; |
6410 | string key = null; | 6410 | string key = null; |
6411 | string name = null; | 6411 | string name = null; |
@@ -6427,16 +6427,16 @@ namespace WixToolset.Core | |||
6427 | switch (actionValue) | 6427 | switch (actionValue) |
6428 | { | 6428 | { |
6429 | case "addLine": | 6429 | case "addLine": |
6430 | action = InifFileActionType.AddLine; | 6430 | action = IniFileActionType.AddLine; |
6431 | break; | 6431 | break; |
6432 | case "addTag": | 6432 | case "addTag": |
6433 | action = InifFileActionType.AddTag; | 6433 | action = IniFileActionType.AddTag; |
6434 | break; | 6434 | break; |
6435 | case "removeLine": | 6435 | case "removeLine": |
6436 | action = InifFileActionType.RemoveLine; | 6436 | action = IniFileActionType.RemoveLine; |
6437 | break; | 6437 | break; |
6438 | case "removeTag": | 6438 | case "removeTag": |
6439 | action = InifFileActionType.RemoveTag; | 6439 | action = IniFileActionType.RemoveTag; |
6440 | break; | 6440 | break; |
6441 | case "": // error case handled by GetAttributeValue() | 6441 | case "": // error case handled by GetAttributeValue() |
6442 | break; | 6442 | break; |
@@ -6478,7 +6478,7 @@ namespace WixToolset.Core | |||
6478 | { | 6478 | { |
6479 | this.Core.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, node.Name.LocalName, "Action")); | 6479 | this.Core.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, node.Name.LocalName, "Action")); |
6480 | } | 6480 | } |
6481 | else if (InifFileActionType.AddLine == action || InifFileActionType.AddTag == action || InifFileActionType.CreateLine == action) | 6481 | else if (IniFileActionType.AddLine == action || IniFileActionType.AddTag == action || IniFileActionType.CreateLine == action) |
6482 | { | 6482 | { |
6483 | if (null == value) | 6483 | if (null == value) |
6484 | { | 6484 | { |