diff options
| author | Ganesh Viswanathan <dev@genotrance.com> | 2019-01-27 17:07:20 -0600 |
|---|---|---|
| committer | Ganesh Viswanathan <dev@genotrance.com> | 2019-01-27 17:07:20 -0600 |
| commit | 3df901d2f0edb59c468d7827d6de004b6596eb10 (patch) | |
| tree | d36cff381815baa4c2a83b090cb0d2ed41472f4b /toast.nim | |
| parent | 6adf7f075acb3ecf6d56b198a0763e9006875891 (diff) | |
| download | nimterop-plugin.tar.gz nimterop-plugin.zip | |
Minor fixesplugin
Diffstat (limited to 'toast.nim')
| -rw-r--r-- | toast.nim | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -113,7 +113,7 @@ proc main( defines: seq[string] = @[], includeDirs: seq[string] = @[], symOverride: seq[string] = @[], - pluginFile: string = "", + pluginSourcePath: string = "", source: seq[string], ) = @@ -128,13 +128,13 @@ proc main( defines: defines, includeDirs: includeDirs, symOverride: symOverride, - pluginFile: pluginFile + pluginSourcePath: pluginSourcePath ) gStateRT.symOverride = gStateRT.symOverride.getSplitComma() - if pluginFile.nBl: - loadPlugin(pluginFile) + if pluginSourcePath.nBl: + loadPlugin(pluginSourcePath) if pgrammar: parseGrammar() @@ -151,7 +151,7 @@ when isMainModule: "defines": "definitions to pass to preprocessor", "includeDirs": "include directory to pass to preprocessor", "symOverride": "skip generating specified symbols", - "pluginFile": "Nim file to build and load as a plugin", + "pluginSourcePath": "Nim file to build and load as a plugin", "preprocess": "run preprocessor on header", "pgrammar": "print grammar", "recurse": "process #include files", |
