diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c14cd5..0cc7ff8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## [Unreleased](https://github.com/dalance/sv-parser/compare/v0.11.1...Unreleased) - ReleaseDate +* [Changed] pub access to Define members + ## [v0.11.1](https://github.com/dalance/sv-parser/compare/v0.11.0...v0.11.1) - 2021-03-05 * [Fixed] include with comment error diff --git a/sv-parser-pp/src/preprocess.rs b/sv-parser-pp/src/preprocess.rs index 4e021b0..c154cf5 100644 --- a/sv-parser-pp/src/preprocess.rs +++ b/sv-parser-pp/src/preprocess.rs @@ -83,15 +83,15 @@ impl PreprocessedText { #[derive(Clone, Debug)] pub struct Define { - identifier: String, - arguments: Vec<(String, Option)>, - text: Option, + pub identifier: String, + pub arguments: Vec<(String, Option)>, + pub text: Option, } #[derive(Clone, Debug)] pub struct DefineText { - text: String, - origin: Option<(PathBuf, Range)>, + pub text: String, + pub origin: Option<(PathBuf, Range)>, } impl Define {