initial pass improving decl parsing error messages

- all decl tokens are given an accurate starting position
- key grammar productions return token positions to facilitate the above
- helpers for standardized parse error generation
- replaced annoying pattern-matching type argument restrictions
- moving away from dumping raw decl tokens in error messages
This commit is contained in:
Zachary Snow
2021-07-03 13:23:33 -04:00
parent ff0c7b026c
commit 6ee558b6b9
25 changed files with 383 additions and 208 deletions
+4
View File
@@ -0,0 +1,4 @@
// pattern: unexpected signed applied to string
module top;
string signed x;
endmodule