List plug-in directories when plug-in call fails
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7011 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
2eb0d5cdf1
commit
bfdec13982
7 changed files with 56 additions and 9 deletions
|
@ -297,7 +297,10 @@ parse_again:
|
|||
{
|
||||
#ifdef NSIS_CONFIG_PLUGIN_SUPPORT
|
||||
if (Plugins::IsPluginCallSyntax(tokstr0))
|
||||
{
|
||||
if (m_pPlugins && display_warnings) m_pPlugins->PrintPluginDirs();
|
||||
ERROR_MSG(_T("Plugin%") NPRIs _T(" not found, cannot call %") NPRIs _T("\n"),m_pPlugins && m_pPlugins->IsKnownPlugin(tokstr0) ? _T(" function") : _T(""),tokstr0);
|
||||
}
|
||||
else
|
||||
#endif
|
||||
ERROR_MSG(_T("Invalid command: \"%") NPRIs _T("\"\n"),tokstr0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue