From: gatecat Date: Wed, 12 Jan 2022 15:06:59 +0000 (+0000) Subject: spef: Parser fixes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0bbf2b7d80b8939f29f2832b923cca4bbf8c6e49;p=tas-yagle.git spef: Parser fixes Signed-off-by: gatecat --- diff --git a/distrib/sources/mbkspef/spef.l b/distrib/sources/mbkspef/spef.l index 4468402..e0b9e08 100644 --- a/distrib/sources/mbkspef/spef.l +++ b/distrib/sources/mbkspef/spef.l @@ -42,7 +42,7 @@ v2 (\{{digit}+\}) v3 (\({digit}+\)) v4 (\\\[{digit}+\\\]) vector ({v0}|{v1}|{v2}|{v3}|{v4}) -hdiv ([[./:_|@#\$%\-!+\\'`~,;=\?\^\&\*]) +hdiv ([[./:_|@#\$%\-!+\\'`~,;=\?\^\&\*()]) identifier {alpha}({hdiv}|{alpha}|{digit}|{vector})* identifier2 {integer}{hdiv}?({hdiv}|{alpha}|{digit}|{vector})* qstring "\"".*"\"" diff --git a/distrib/sources/mbkspef/spef.y b/distrib/sources/mbkspef/spef.y index 03d7ea9..b4f9f80 100644 --- a/distrib/sources/mbkspef/spef.y +++ b/distrib/sources/mbkspef/spef.y @@ -465,7 +465,7 @@ total_cap : par_value { $$ = $1; } ; .routing_conf. : empty { } | _E_V _POS_INTEGER { } ; -.conn_sec. : _E_CONN conn_def conn_def_list .internal_node_coord_list. { } +.conn_sec. : _E_CONN conn_def_list .internal_node_coord_list. { } | ;