Qucs / ADMS

ADMS is a code generator for the Verilog-AMS language
GNU General Public License v3.0
94 stars 32 forks source link

preprocesor does not seem to catch redefinition #50

Closed guitorri closed 8 years ago

guitorri commented 8 years ago

As described in #48

I did not check the LRM. IMHO the following should at least raise a warning.

`define P_Q 1.5
...
`define P_Q 1.55
felix-salfelder commented 8 years ago

what do you mean by "catch"? i got this

[warning] pragma redefined ... 'P_Q'
[warning] pragma redefined ... 'P_K'
[warning] pragma redefined ... 'P_CELSIUS0'

and wouldn't have notices otherwise :/

guitorri commented 8 years ago

Ok. That is whta I meant.. :D