diff options
author | Rob Mensching <rob@firegiant.com> | 2019-03-01 16:45:55 -0800 |
---|---|---|
committer | Rob Mensching <rob@robmensching.com> | 2019-03-01 16:51:02 -0800 |
commit | 615bc202834ac45a9a107e5fccd900081a4abf74 (patch) | |
tree | ceebc5b3652f0274bee745701a3538439b0275d1 /src/WixToolset.Core/IncludedFile.cs | |
parent | 009f11ca9cf8674b40b74888aae90bcd4817828b (diff) | |
download | wix-615bc202834ac45a9a107e5fccd900081a4abf74.tar.gz wix-615bc202834ac45a9a107e5fccd900081a4abf74.tar.bz2 wix-615bc202834ac45a9a107e5fccd900081a4abf74.zip |
Include the preprocessed include files with the processed document
This change also cleans up the internal state handling of the preprocesor
to pass the processing state around rather than depend on "global state"
in member variables. This removes the need to "reset" the member
variables before preprocessing which is much cleaner.
Diffstat (limited to 'src/WixToolset.Core/IncludedFile.cs')
-rw-r--r-- | src/WixToolset.Core/IncludedFile.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/WixToolset.Core/IncludedFile.cs b/src/WixToolset.Core/IncludedFile.cs new file mode 100644 index 00000000..25d51191 --- /dev/null +++ b/src/WixToolset.Core/IncludedFile.cs | |||
@@ -0,0 +1,14 @@ | |||
1 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | ||
2 | |||
3 | namespace WixToolset.Core | ||
4 | { | ||
5 | using WixToolset.Data; | ||
6 | using WixToolset.Extensibility.Data; | ||
7 | |||
8 | internal class IncludedFile : IIncludedFile | ||
9 | { | ||
10 | public string Path { get; set; } | ||
11 | |||
12 | public SourceLineNumber SourceLineNumbers { get; set; } | ||
13 | } | ||
14 | } | ||