diff options
author | Reimer Behrends <behrends@gmail.com> | 2014-06-25 00:42:55 +0200 |
---|---|---|
committer | Reimer Behrends <behrends@gmail.com> | 2014-06-25 00:42:55 +0200 |
commit | 55e7d91b317444d874b3ce88c44536842ef0821b (patch) | |
tree | 90056c47b6b8fd38566c69416854b6aff3091908 /compiler/c2nim/tests/enum.h | |
parent | 0449791185042ddb8ad2819d773b3aefbe4a91a6 (diff) | |
download | Nim-55e7d91b317444d874b3ce88c44536842ef0821b.tar.gz |
Fix generation of package-dependent init names.
The code incorrectly used relative instead of absolute paths to see if *.babel files could be found, which could result in them not being located properly. Also added an underscore between the package and the module name for package_moduleInit() and package_moduleDatInit() so that there won't be spurious conflicts, e.g. for package A and module BC vs. package AB and module C.
Diffstat (limited to 'compiler/c2nim/tests/enum.h')
0 files changed, 0 insertions, 0 deletions