67 Commits

Author SHA1 Message Date
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
3755299139 ppTests include_recursive
- Ignored by default.
- Causes stack overflow.
2022-07-26 18:20:22 +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
damc
466301c9c9 ppTests celldefine 2022-07-26 11:24:39 +02:00
damc
dc36b4b11f ppTests timescale 2022-07-26 11:24:04 +02:00
damc
15c38aaa0c ppTests keywords 2022-07-26 11:21:25 +02:00
damc
fc26dbf341 ppTests rm whitespace_directives
- Replacing with more thorough tests.
2022-07-26 11:20:39 +02:00
damc
4d647bf72d ppTests IEEE1800-2017_keyword_* 2022-07-26 10:28:23 +02:00
damc
f85809f55a ppTests macro_FILE 2022-07-25 22:14:22 +02:00
damc
2e77dbc38a ppTests Extend macro_LINE to catch more unusual behaviour seen in the wild. 2022-07-25 22:07:50 +02:00
damc
026e606136 ppTests Fix IEEE18002017_macro_without_defaults 2022-07-21 22:24:19 +02:00
damc
28cbd8aaf4 ppTests Extend non-IEEE tests around macros. 2022-07-21 21:39:21 +02:00
damc
bd1fc19ee8 ppTests Rename test2.svh -> included.svh
- 19 pass, 9 fail due to whitespace.
- All failures are suspected bugs.
2022-07-21 13:51:51 +02:00
damc
d1e6f6e6af ppTests Fix bad filename. 2022-07-21 13:42:27 +02:00
damc
c5ba2b457b ppTests Fix bad filename. 2022-07-21 13:35:18 +02:00
damc
e966beb51e ppTests mv macro_identifier 2022-07-21 13:18:22 +02:00
damc
3e8db79d51 ppTests mv macro_comment 2022-07-21 13:14:24 +02:00
damc
6f752c4cda ppTests rm missed expected 2022-07-21 13:11:00 +02:00
damc
f4554b062c ppTests mv IEEE18002017_macro_mix_quotes 2022-07-21 13:10:18 +02:00
damc
d40374b509 ppTests mv IEEE18002017_macro_noexpand_string 2022-07-21 13:08:57 +02:00
damc
637e970b13 ppTests mv macro_basic 2022-07-21 13:07:29 +02:00
damc
81e3d1ea11 ppTests mv macro_multiline_comment 2022-07-21 13:02:42 +02:00
damc
e4b2fdbc49 ppTests mv include_basic 2022-07-21 12:57:56 +02:00
damc
dca16d22b8 ppTests mv include_sameline_comment 2022-07-21 12:51:16 +02:00
damc
2635d27193 ppTests mv include_sameline_keyword 2022-07-21 12:42:14 +02:00
damc
25783f0589 ppTests mv include_sameline_include 2022-07-21 12:41:13 +02:00
damc
c375b4658f ppTests mv macro_recursion_indirect 2022-07-21 12:39:32 +02:00
damc
e84429600f ppTests mv macro_recursion_direct 2022-07-21 12:38:41 +02:00
damc
60e46303c5 ppTests mv macro_parameters_defaultvalue 2022-07-21 12:36:35 +02:00
damc
b9f90114da ppTests mv macro_parameters_multiline 2022-07-21 12:33:57 +02:00
damc
493fa21594 ppTests mv whitespace_directives 2022-07-21 12:31:44 +02:00
damc
12d43f8373 ppTests mv macro_LINE 2022-07-21 12:20:28 +02:00
damc
a3d4898ec2 ppTests mv ifndef_undefined 2022-07-21 12:19:05 +02:00
damc
c78276b906 ppTests include_origin,include_ignore 2022-07-21 12:15:52 +02:00
damc
c64a151583 ppTests ifdef_undefined,ifdef_predefined 2022-07-21 12:11:42 +02:00
damc
c16de493ab ppTests mv ifdef_nested 2022-07-21 10:58:34 +02:00
damc
bed9b08f93 ppTests mv escaped_identifier 2022-07-21 10:56:54 +02:00
damc
93f305c448 ppTests Add tests from LRM, but don't run them yet. 2022-07-21 10:52:43 +02:00
damc
9a254105c6 ppTest Move expected pp output to separate files. 2022-07-20 13:28:58 +02:00
damc
e149c28445 ppWhitespace Skip whitespace nodes attached to compiler directives. 2022-07-04 21:04:35 +02:00
damc
04b64992b9 ppWhitespace Add testcase showing extra whitespace inserted by `default_netype. 2022-07-04 18:46:07 +02:00