From def4b260058047274d985b073b5efe707760b164 Mon Sep 17 00:00:00 2001 From: Yehowshua Immanuel Date: Thu, 11 Aug 2022 18:33:26 -0400 Subject: [PATCH] now all calls to next_word and curr_word should be macros where possible --- README.md | 3 +++ src/vcd/parse/metadata.rs | 8 +------- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index b1e3b16..c7f85a7 100644 --- a/README.md +++ b/README.md @@ -40,8 +40,11 @@ Here's a command to test on a malformed VCD: # TODO ## Features + - [ ] remove Result<..> from reader - [ ] be explicit with imports, remove exports as possible once FastWave is known to be fairly stable. + - [ ] do a read through all the code + - make contents of src/types.rs all public - [ ] macro for getting line number when propagating errors - [ ] search for any ok_or's - [ ] search for any unwraps or any direct vectors indexing diff --git a/src/vcd/parse/metadata.rs b/src/vcd/parse/metadata.rs index 855f3ba..887a94c 100644 --- a/src/vcd/parse/metadata.rs +++ b/src/vcd/parse/metadata.rs @@ -223,13 +223,7 @@ pub(super) fn parse_metadata(word_reader: &mut WordReader) -> Result