correctly handle hdl byte literal suffixes

This commit is contained in:
Jacob Lifshay 2024-07-16 19:45:12 -07:00
parent c2e5ea8e89
commit 63fd038729
Signed by: programmerjake
SSH key fingerprint: SHA256:B1iRVvUJkvd7upMIiMqn6OyxvD2SgJkAH3ZnUOj6z+c
2 changed files with 11 additions and 8 deletions

View file

@ -57,7 +57,7 @@ pub fn my_module(width: usize) {
m.connect(
o,
#[hdl]
[r, r, 13_hdl_u8],
[r, r, b'\r'_hdl],
);
m.connect(o[1], 30_hdl_u8);
m.connect(o2, i2);