Merge pull request #71 from SiegeLord/master

Add the -property command line argument
This commit is contained in:
David Nadlinger
2012-02-06 07:13:37 -08:00
3 changed files with 14 additions and 0 deletions

View File

@@ -219,6 +219,11 @@ int main(int argc, char** argv)
printf("config %s\n", path.c_str());
}
// enforcePropertySyntax handled separately because it is a char
#if DMDV2
global.params.enforcePropertySyntax = enforcePropertySyntax ? 1 : 0;
#endif
// Negated options
global.params.link = !compileOnly;
global.params.obj = !dontWriteObj;