I believe parser is now passing my small corpus
This commit is contained in:
parent
4190ce2621
commit
28264dac34
2
TODO.md
2
TODO.md
|
@ -6,6 +6,8 @@
|
||||||
- [ ] need canonical form making it easy to run all these validation
|
- [ ] need canonical form making it easy to run all these validation
|
||||||
passes
|
passes
|
||||||
- [ ] are recursive slices inclusive?
|
- [ ] are recursive slices inclusive?
|
||||||
|
- [ ] you can apparently have empty SigConCats - but what does this
|
||||||
|
even mean?
|
||||||
- [ ] what are the semantics of connection `<conn-stmt>`?
|
- [ ] what are the semantics of connection `<conn-stmt>`?
|
||||||
- [ ] Validate that `123456789[0:9][0:8]` is valid RTLIL
|
- [ ] Validate that `123456789[0:9][0:8]` is valid RTLIL
|
||||||
- [ ] add validation section to README
|
- [ ] add validation section to README
|
||||||
|
|
|
@ -246,7 +246,7 @@ pSigSpecConcat = p <?> name where
|
||||||
name = "SigSpecConcat"
|
name = "SigSpecConcat"
|
||||||
p =
|
p =
|
||||||
do
|
do
|
||||||
char '{' <* pWs
|
char '{' <* pMaybeWs
|
||||||
sigspecs <- many $ pSigSpec <* pWs
|
sigspecs <- many $ pSigSpec <* pWs
|
||||||
char '}'
|
char '}'
|
||||||
return $ SigSpecConcat sigspecs
|
return $ SigSpecConcat sigspecs
|
||||||
|
|
Loading…
Reference in a new issue