[Libre-soc-bugs] [Bug 671] convert spec pseudocode to use XLEN width

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sun Aug 22 18:31:14 BST 2021


https://bugs.libre-soc.org/show_bug.cgi?id=671

--- Comment #7 from dmitry.selyutin at 3mdeb.com ---
(In reply to Luke Kenneth Casson Leighton from comment #4)
> doh that's very annoying, and i'm not sure how to fix it.

I'm by no means an expert in PLY, but we have the following there:

r"""[-]?(\d+(\.\d*)?|\.\d+)([eE][-+]? \d+)?"""

The sign is considered to be a part of the token. If I drop [-]?, it gets
parsed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list