Commit graph

10 commits

Author SHA1 Message Date
Anmol Sethi
10c6d2af71
d2parser: Fix bad import key panic 2023-06-06 14:01:32 -07:00
Anmol Sethi
c325e94cad
d2parser: Allow .d2 extension on quoted import strings 2023-05-30 15:56:01 -07:00
Anmol Sethi
89e1e324d7
d2parser: Add imports support
Includes rewriting @file.d2 to @file
2023-05-30 15:44:35 -07:00
Anmol Sethi
e6b52a357f
d2parser: Pass whitespace_range test
Closes #1279
2023-05-05 09:18:25 -07:00
Anmol Sethi
fa5eced013
d2parser: Update whitespace range test
To include leading and trailing whitespace
2023-05-05 09:18:25 -07:00
Anmol Sethi
10fab9c09c
d2parser: Add test for leading whitespace bug
Updates #1279
2023-05-05 09:18:25 -07:00
Anmol Sethi
1e3cb397a9
testdata: Add a few parse tests and cleanup testdata
Updates #955
Updates #322
2023-03-13 15:28:53 -07:00
Anmol Sethi
d116889fc9
Switch fully to util-go 2022-12-01 11:48:49 -08:00
Anmol Sethi
6a71aa02bc
Fix trailing whitespace
cc @gavin-ts
2022-11-28 10:44:18 -08:00
Alexander Wang
524c089a74 oss
Co-authored-by: Anmol Sethi <hi@nhooyr.io>
2022-11-03 06:54:49 -07:00