Add pub access to Define members #44
This commit is contained in:
parent
d3d810fb8e
commit
dc82f83903
@ -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
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user