diff --git a/hcore/deviceManager/deviceSpecp.yy b/hcore/deviceManager/deviceSpecp.yy index 3cc9bfd..4716840 100644 --- a/hcore/deviceManager/deviceSpecp.yy +++ b/hcore/deviceManager/deviceSpecp.yy @@ -127,18 +127,6 @@ opt_params: | /* empty */ { $$ = new std::vector>(); } ; -param: - STRING { - $$ = new std::pair($1, ""); - } - | STRING EQUALS { - $$ = new std::pair($1, ""); - } - | STRING EQUALS STRING { - $$ = new std::pair($1, $3); - } - ; - params: param { $$ = new std::vector>(); @@ -152,4 +140,16 @@ params: } ; +param: + STRING { + $$ = new std::pair($1, ""); + } + | STRING EQUALS { + $$ = new std::pair($1, ""); + } + | STRING EQUALS STRING { + $$ = new std::pair($1, $3); + } + ; + %%