diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2020-06-19 14:44:23 +1000 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2020-06-19 00:53:14 -0700 |
commit | 89416eb8c4e7dc8ae4dd2aa27aa7c5930421f61a (patch) | |
tree | 23bb1c1c6a4af551b8edd465ba491089ebf6239d /src/WixToolset.Core/Compiler.cs | |
parent | 00e4ccb89b3e2450ad95e298588d80e90b6f8742 (diff) | |
download | wix-89416eb8c4e7dc8ae4dd2aa27aa7c5930421f61a.tar.gz wix-89416eb8c4e7dc8ae4dd2aa27aa7c5930421f61a.tar.bz2 wix-89416eb8c4e7dc8ae4dd2aa27aa7c5930421f61a.zip |
Restore Unreal to CustomTable.
Diffstat (limited to 'src/WixToolset.Core/Compiler.cs')
-rw-r--r-- | src/WixToolset.Core/Compiler.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/WixToolset.Core/Compiler.cs b/src/WixToolset.Core/Compiler.cs index bbd6b292..cb85281d 100644 --- a/src/WixToolset.Core/Compiler.cs +++ b/src/WixToolset.Core/Compiler.cs | |||
@@ -3668,6 +3668,7 @@ namespace WixToolset.Core | |||
3668 | { | 3668 | { |
3669 | var sourceLineNumbers = Preprocessor.GetSourceLineNumbers(node); | 3669 | var sourceLineNumbers = Preprocessor.GetSourceLineNumbers(node); |
3670 | string tableId = null; | 3670 | string tableId = null; |
3671 | var unreal = false; | ||
3671 | var columns = new List<WixCustomTableColumnTuple>(); | 3672 | var columns = new List<WixCustomTableColumnTuple>(); |
3672 | 3673 | ||
3673 | foreach (var attrib in node.Attributes()) | 3674 | foreach (var attrib in node.Attributes()) |
@@ -3679,6 +3680,9 @@ namespace WixToolset.Core | |||
3679 | case "Id": | 3680 | case "Id": |
3680 | tableId = this.Core.GetAttributeIdentifierValue(sourceLineNumbers, attrib); | 3681 | tableId = this.Core.GetAttributeIdentifierValue(sourceLineNumbers, attrib); |
3681 | break; | 3682 | break; |
3683 | case "Unreal": | ||
3684 | unreal = YesNoType.Yes == this.Core.GetAttributeYesNoValue(sourceLineNumbers, attrib); | ||
3685 | break; | ||
3682 | default: | 3686 | default: |
3683 | this.Core.UnexpectedAttribute(node, attrib); | 3687 | this.Core.UnexpectedAttribute(node, attrib); |
3684 | break; | 3688 | break; |
@@ -3741,6 +3745,7 @@ namespace WixToolset.Core | |||
3741 | this.Core.AddTuple(new WixCustomTableTuple(sourceLineNumbers, new Identifier(AccessModifier.Public, tableId)) | 3745 | this.Core.AddTuple(new WixCustomTableTuple(sourceLineNumbers, new Identifier(AccessModifier.Public, tableId)) |
3742 | { | 3746 | { |
3743 | ColumnNames = columnNames, | 3747 | ColumnNames = columnNames, |
3748 | Unreal = unreal, | ||
3744 | }); | 3749 | }); |
3745 | } | 3750 | } |
3746 | } | 3751 | } |