Qucs / ADMS

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

Move ADMS include directory to back of search list #100

Closed ngwood closed 2 years ago

ngwood commented 2 years ago

The previous augmentation of the include path resulted in the following search order.

1. ADMS include directory.
2. Current working directory.
3. User specified include directories.

This means that the ADMS standard header files, namely constants.vams and disciplines.vams, would always take precedence over user supplied files of the same name. This commit changes the search order to the following.

1. Current working directory.
2. User specified include directories.
3. ADMS include directory.

This way users are not forced to delete or edit the incomplete header files in the ADMS include directory.

ngwood commented 2 years ago

The AppVeyor build failed, but not as a result of my pull request.

felix-salfelder commented 2 years ago

Don't worry about it. Merged into develop (after cursory testing).

thanks!