spef: Parser fixes
authorgatecat <gatecat@ds0.me>
Wed, 12 Jan 2022 15:06:59 +0000 (15:06 +0000)
committergatecat <gatecat@ds0.me>
Wed, 12 Jan 2022 15:06:59 +0000 (15:06 +0000)
Signed-off-by: gatecat <gatecat@ds0.me>
distrib/sources/mbkspef/spef.l
distrib/sources/mbkspef/spef.y

index 4468402637dc2d3d66773882e938e9320dfb02fe..e0b9e08f4e91d85414bfc367ac561aa9c427667d 100644 (file)
@@ -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      "\"".*"\"" 
index 03d7ea9762b6ac4df26c18635958247a8ab65847..b4f9f8084d82f36a4b0f1d47ae03b19818f07dc9 100644 (file)
@@ -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. { }
                      | 
                      ;