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
565d15ccc5
ppTests mv macro_FILE into alphabetical position.
2022-07-26 09:54:41 +02:00
damc
963e17a5ea
ppTests Allow define __FILE__ and
define __LINE__ to parse.
...
- Redefinitions are silently ignored.
- ifdef/ifndef will always treat them as defined.
- Enables compatibility with code from a silicon vendor I can think of.
- NOTE: Whitespace bugs around endif/undef are observable in testcases.
2022-07-25 22:21:28 +02:00
damc
f85809f55a
ppTests macro_FILE
2022-07-25 22:14:22 +02:00
damc
7236f51602
ppTests Correct whitespace in macro expansion.
...
- Append the attached WhiteSpace on the end of TextMacroUsage.
That append replaces/corrects "separator is required".
- Ignore leading whitespace as suggested by the BNF in Syntax 22-2.
That SM change replaces/correct "remove leading whitespace".
- All tests now pass as expected.
2022-07-21 22:36:19 +02:00
damc
4f1b566e2b
ppTests Use rearrange tests alphabetically after renames.
2022-07-21 22:26:13 +02:00
damc
d1e7f32d05
ppTests Comment-only explain replacements.
2022-07-21 21:40:11 +02:00
damc
1be39f0ce9
ppTests Fold markers around tests.
2022-07-21 18: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
f927aee299
ppTests Add missing IEEE18002017_* tests.
2022-07-21 13:45:42 +02:00
damc
daa55135bc
ppTests MESSY Rearrange tests alphabetically.
...
- This should be the last messy commit.
- Renamed and re-arranged tests are now easier to navigate.
- Six test failing for different reasons.
2022-07-21 13:34:23 +02:00
damc
812014ea16
ppTests Add two quotes from LRM in split_text().
2022-07-21 13:19:23 +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
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
9a254105c6
ppTest Move expected pp output to separate files.
2022-07-20 13:28:58 +02:00
damc
1a77bbb75b
ppTests Rename get_testcase -> testcase_path
2022-07-20 12:48:16 +02:00
damc
6d826d52f9
ppTests Descriptive names.
2022-07-20 12:35:56 +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
dalance
c225236236
Merge branch 'master' of https://github.com/dalance/sv-parser
2021-11-12 11:39:01 +09:00
dalance
dc82f83903
Add pub access to Define members #44
2021-11-12 11:38:41 +09:00
Sean McLoughlin
15bbb09b25
Template Defines
and change function signatures to use templated version
2021-06-16 09:52:36 -07:00
Sean McLoughlin
5f20d2acee
Derive Eq, PartialEq for Define, DefineText
2021-06-16 09:52:36 -07:00
dalance
b23e9079e9
Fix include with comment error
2021-03-05 15:06:12 +09:00
dalance
c0c794f419
Keep directives after preprocess
2021-03-04 20:58:43 +09:00
dalance
b924dc304c
Fix include with comment error
2021-01-29 18:35:25 +09:00
dalance
9360cda58f
Fix missing comment after macro name #29
2021-01-19 21:10:56 +09:00
dalance
0aaec7e712
Fix embedded single line comment in macro #28
2021-01-06 11:54:16 +09:00
dalance
b26b56d624
Fix escaped macro identifier #28
2020-12-21 20:14:33 +09:00
dalance
ce598fd4ef
Keep text_macro_definition after preprocess #19
2020-11-11 14:17:56 +09:00