Allow for overriding of intrinsics with different numbers of arguments
If code shadows an intrinsic but gives it a different interface then fparser currently raises a SyntaxError as the interface does not match that of the Fortran intrinsic and it does not countenance any other options. It would probably be better if the match on the intrinsic were simply allowed to fail at this stage.
I've pushed my current patch (that I use with NEMOVAR) to 313_permit_intrinsic_shadowing. We (@rupertford and perhaps @sergisiso ) need to decide if we're happy with this, whether it should be a configuration option or something else.
In MIN/control_vectors.F90 an interface named dot_product is declared. We should be able to use the symbol table functionality to cope with calls to this within that source file.