diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2021-04-24 02:15:32 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-23 23:15:32 -0700 |
| commit | 697017e6fae8c252638abc298ec1556de2e41314 (patch) | |
| tree | 6278e3773e02124b3d140e42f74a6934049c7751 /tests/bugs/preproc-lex-failure.slang.expected | |
| parent | d1b0d5acb22cf8b6258b40c8690cd0c7e3989d3e (diff) | |
Fix lexer/preproc diagnose issue (#1806)
* #include an absolute path didn't work - because paths were taken to always be relative.
* Pass LexerFlags to all lexing functionality that may output a diagnostic.
* Add test for lexing disabling issue.
* Improve tests.
Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'tests/bugs/preproc-lex-failure.slang.expected')
| -rw-r--r-- | tests/bugs/preproc-lex-failure.slang.expected | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/bugs/preproc-lex-failure.slang.expected b/tests/bugs/preproc-lex-failure.slang.expected new file mode 100644 index 000000000..e4505eb4f --- /dev/null +++ b/tests/bugs/preproc-lex-failure.slang.expected @@ -0,0 +1,6 @@ +result code = 0 +standard error = { +} +standard output = { +Hello +} |
