~ruther/gtkwave-tcl-generator

dda368de53aab05d182e9f3fb83305a11cf3784a — František Boháček 1 year, 7 months ago 149db8c
fix: trim comment tokens
1 files changed, 1 insertions(+), 1 deletions(-)

M src/comment_parser.rs
M src/comment_parser.rs => src/comment_parser.rs +1 -1
@@ 21,7 21,7 @@ impl CommentParser {
    pub fn parse_comment(comment: &str) -> Vec<Operation> {
        comment
            .split(['\n', ','].as_ref())
            .map(|token| Self::parse_token(token))
            .map(|token| Self::parse_token(token.trim()))
            .filter(|operation| operation.is_some())
            .into_iter()
            .map(|operation| operation.unwrap())

Do not follow this link