dalance
ef10916587
Merge pull request #84 from dalance/dependabot/cargo/syn-2.0.6
...
Update syn requirement from 1.0.0 to 2.0.6
2023-03-23 08:22:50 +09:00
dependabot[bot]
71fb1302ee
Update syn requirement from 1.0.0 to 2.0.6
...
Updates the requirements on [syn](https://github.com/dtolnay/syn ) to permit the latest version.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.0...2.0.6 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-22 21:06:57 +00:00
dalance
a4cb297e8a
Prepare to release
2023-02-08 21:30:58 +09:00
dalance
ad4833a744
Update CHANGELOG
2023-02-08 21:29:57 +09:00
dalance
5363e64312
Prepare to release
2023-02-08 09:14:41 +09:00
dalance
35c3aeb959
Update CHANGELOG
2023-02-08 09:14:26 +09:00
dalance
83f850f79e
Merge pull request #79 from DaveMcEwan/improvement78
...
Improvement: Handle non-UTF8 files
2023-02-08 09:13:31 +09:00
damc
a5d0c48b35
improvement78 Remove Option<>
wrapper from ReadUtf8 arg.
...
There's no immediate usecase for distinguishing `Some`/`None`.
2023-02-07 19:17:57 +01:00
damc
ac2d169333
improvement78 Add Error::ReadUtf8 with testcase.
...
There are 6x LATIN1 bytes in a comment.
2023-02-07 18:57:08 +01:00
damc
1ee6215934
improvement78 Testcase for Error:DefineArgNotFound.
2023-02-07 18:30:59 +01:00
damc
f0aa7c5a5c
improvement78 Testcase for Error:DefineNotFound.
2023-02-07 18:04:27 +01:00
damc
f98cb6c5d7
improvement78 Testcase, plus String arg for Error:DefineNoArgs.
2023-02-07 17:47:20 +01:00
dalance
81003fe276
Merge pull request #74 from DaveMcEwan/bugfix73
...
bugfix73 Spelling-only `Assetion` -> `Assertion`
2022-12-02 18:01:56 +09:00
damc
7acce55136
bugfix73 Spelling-only Assetion
-> Assertion
2022-11-22 17:01:28 +01:00
dalance
70ebf3943b
Prepare to release
2022-11-09 16:38:06 +09:00
dalance
539bc3ade3
Fix release.toml
2022-11-09 16:29:51 +09:00
dalance
cd8a19da18
Update CHANGELOG
2022-11-09 16:24:50 +09:00
dalance
1458b98da7
Merge pull request #63 from dalance/dependabot/cargo/criterion-0.4
...
Update criterion requirement from 0.3 to 0.4
2022-11-09 16:18:20 +09:00
dalance
9bfc1768c0
Merge pull request #69 from DaveMcEwan/ppErrorPreprocess
...
Use `Error::Preprocess` on pp parsing error, instead of `Error::Parse`.
2022-11-09 16:16:28 +09:00
dalance
a9ae3c2e69
Merge pull request #71 from DaveMcEwan/predefineSvCov
...
Predefine `SV_COV_*` constants required by clause 40.3.1
2022-11-09 16:14:31 +09:00
dalance
f6fd124601
Merge pull request #70 from DaveMcEwan/traitDebug
...
Implement the std::fmt::Debug trait.
2022-11-09 16:11:21 +09:00
damc
13504563f2
predefineSvCov Implement pre-defined constants, enable test.
2022-11-08 20:55:23 +01:00
damc
6b3b3ee903
predefineSvCov Add simple testcase.
2022-11-08 20:25:30 +01:00
damc
a9302e7f90
traitDebug Implement the std::fmt::Debug trait.
...
- Based on the Display trait, but includes whitespace.
- The format of each line is slightly different, with `@line:123`
appearing before the token's string.
- This is to reduce the chances of grep-based tools getting confused.
- This also makes it easier to display whitespace/comments.
- No additional testcases are added, same as Display.
- Tested via local build in svlint development.
2022-11-08 19:09:26 +01:00
damc
8c3f87b360
ppErrorPreprocess Add testcase, currently ignored.
2022-10-26 20:14:19 +02:00
damc
f9e93d18bd
ppErrorPreprocess Make use of the existing Error::Preprocess
...
Before this commit, inputs with invalid pp syntax are reported using
`Error::Parse` which is also used to report invalid post-pp syntax.
In svlint/svls, `Error::Parse` is reported to the user as "parse error"
without specifying if that's pre or post pp.
This commit makes it possible for future versions of svlint/svls to report
"preprocess error", thus helping users to identify pp issues.
- `Error::Preprocess` appears to be defined but unused.
- Add the argument `Option<(PathBuf, usize)>` to `Error::Preprocess`, same
as `Error::Parse`.
- Update `preprocess_str()` to use `Error::Preprocess` in all 5 instances.
2022-10-26 19:43:23 +02:00
dalance
6c28a6157d
Merge pull request #65 from wendajiang/typo
...
fix: typo
2022-10-19 16:41:15 +09:00
dalance
99e71f59e0
Fix badge
2022-10-17 09:15:34 +09:00
David
2aeb33e3fd
fix: typo
2022-10-10 09:35:02 +08:00
dependabot[bot]
3900bf2e1d
Update criterion requirement from 0.3 to 0.4
...
Updates the requirements on [criterion](https://github.com/bheisler/criterion.rs ) to permit the latest version.
- [Release notes](https://github.com/bheisler/criterion.rs/releases )
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.3.0...0.3.6 )
---
updated-dependencies:
- dependency-name: criterion
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 20:19:36 +00:00
dalance
f59b676674
Prepare to release
2022-08-01 12:29:07 +09:00
dalance
eef4bc59db
Fix Cargo.toml
2022-08-01 12:28:32 +09:00
dalance
87b2ce9ca2
Fix release.toml
2022-08-01 12:26:35 +09:00
dalance
4442b69c60
Update CHANGELOG
2022-08-01 12:14:42 +09:00
dalance
aabc9aa646
Merge pull request #61 from DaveMcEwan/ppTests
...
Bugfixes for `preprocess()`, plus organise and extend tests.
2022-08-01 12:11:45 +09:00
damc
da6157952e
ppTests include_quoted_(a|b|c|d)
...
- Illustration of https://github.com/dalance/svlint/issues/77
- That's the same as https://github.com/dalance/sv-parser/issues/48
- A,B show what doesn't work, vaguely defined on page 680.
- C,D show what does work, using example on page 680.
2022-07-26 22:00:46 +02:00
damc
8e461d0de6
ppTests Protect against infinite include recursion.
...
- New argument `include_depth` on `preprocess_str()`.
- Existing function `preprocess()` is now a wrapper for private function
`preprocess_inner()` which uses `include_depth`.
- Commented arguments on all uses of `preprocess()` and `preprocess_str()`.
- Test `include_recursive` is fixed and not ignored.
- Without recursion limit, stack overflow occurs which crashes svls.
2022-07-26 20:21:59 +02:00
damc
3755299139
ppTests include_recursive
...
- Ignored by default.
- Causes stack overflow.
2022-07-26 18:20:22 +02:00
damc
de098895d7
ppTests Simplify tests with preprocess_usualargs()
.
...
1. It's much less visual noise.
2. Preparation for change to `preprocess()` and `preprocess_str()` arguments.
2022-07-26 18:14:10 +02:00
damc
2b9ed78318
ppTests Comment-only explain include implementation.
2022-07-26 17:25:42 +02:00
damc
ddf33de79d
ppTests Explain and rename include_basic,include_origin -> include_withindent,include_noindent
2022-07-26 16:46:13 +02:00
damc
edf66849ea
ppTests Add missing undefineall test.
2022-07-26 13:30:33 +02:00
damc
ab4845a964
ppTests Avoid removal of undef and
undefineall directives.
...
- Similarly to how `define is left in-place, `undef and `undefine are also
left in-place.
- Corresponding fixes to macro_LINE and macro_FILE.
- These directives were not in any testcases before this branch.
2022-07-26 13:10:52 +02:00
damc
543915011b
ppTests undefineall
2022-07-26 13:06:16 +02:00
damc
ae43678b9e
ppTests undef
2022-07-26 12:57:50 +02:00
damc
bf6e5688aa
ppTests line
2022-07-26 12:03:09 +02:00
damc
3c693d0d68
ppTests resetall
2022-07-26 11:48:36 +02:00
damc
c56c6a965b
ppTests pragma
2022-07-26 11:42:17 +02:00
damc
3641284d68
ppTests unconnected_drive
2022-07-26 11:25:59 +02:00
damc
5c96bcb7e6
ppTests default_nettype
2022-07-26 11:25:09 +02:00