From: Guilherme B. T. <gui...@gm...> - 2014-01-11 23:27:00
|
On 11/01/14 20:19, Bastien ROUCARIES wrote: > I think it is time to use upverter version. Qucs version: > > y.tab.c: In function 'admstpathparse': > y.tab.c:14933:7: error: too few arguments to function 'admstpathlex' > admstpathYacc.y:8:12: note: declared here > static int admstpathlex (p_pparse mypparse); > ^ > admstpathYacc.y:13643:43: error: 'mypparse' undeclared (first use in > this function) > p_text mytext=adms_text_new(((p_pparse)mypparse)->_transform,""); > ^ > admstpathYacc.y:13643:43: note: each undeclared identifier is reported > only once for each function it appears in > admstpathYacc.y: In function 'pparse': > admstpathYacc.y:14618:5: error: too many arguments to function 'admstpathparse' > admstpathparse (mypparse); > ^ > admstpathYacc.c:63:25: note: declared here > #define yyparse admstpathparse > ^ > y.tab.c:14777:1: note: in expansion of macro 'yyparse' > admstpathYacc.y: In function 'tparse': > admstpathYacc.y:14651:5: error: too many arguments to function 'admstpathparse' > admstpathparse (mypparse); > ^ > admstpathYacc.c:63:25: note: declared here > #define yyparse admstpathparse > ^ > y.tab.c:14777:1: note: in expansion of macro 'yyparse' > admstpathYacc.y: In function 'apath_main': > admstpathYacc.y:14690:5: error: too many arguments to function 'admstpathparse' > admstpathparse (mypparse); > ^ > admstpathYacc.c:63:25: note: declared here > #define yyparse admstpathparse > ^ > y.tab.c:14777:1: note: in expansion of macro 'yyparse' > > Hi Bastien, Are you using Bison 3.0.+ ? Have a look here: https://github.com/upverter/ADMS/issues/6 I reported here in the qucs-devel and also to Upverter. Newer versions of bison dropped deprecated stuff that ADMS still uses. Have you tried to run the ADMS from Upverter against the models in Qucs? Let us know how it went. If it works let me know and I will put together some tests involving Verilog-A models/components just to make sure ;) Regards, Guilherme |