Add pub access to Define members #44

This commit is contained in:
dalance 2021-11-12 11:38:41 +09:00
parent d3d810fb8e
commit dc82f83903
2 changed files with 7 additions and 5 deletions

View File

@ -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

View File

@ -83,15 +83,15 @@ impl PreprocessedText {
#[derive(Clone, Debug)]
pub struct Define {
identifier: String,
arguments: Vec<(String, Option<String>)>,
text: Option<DefineText>,
pub identifier: String,
pub arguments: Vec<(String, Option<String>)>,
pub text: Option<DefineText>,
}
#[derive(Clone, Debug)]
pub struct DefineText {
text: String,
origin: Option<(PathBuf, Range)>,
pub text: String,
pub origin: Option<(PathBuf, Range)>,
}
impl Define {