dmd.root.response

Parse command line arguments from response files.

This file is not shared with other compilers which use the DMD front-end.

Members

Aliases

responseExpand
alias responseExpand = responseExpandFrom!lookupInEnvironment

Functions

insertArgumentsFromResponse
bool insertArgumentsFromResponse(char[] buffer, ref Strings args, ref size_t argIndex)

Take the contents of a response-file 'buffer', parse it and put the resulting arguments in 'args' at 'argIndex'. 'argIndex' will be updated to point just after the inserted arguments. The logic of this should match that in setargv()

responseExpandFrom
bool responseExpandFrom(ref Strings args)

Expand any response files in command line. Response files are arguments that look like: @NAME The names are resolved by calling the 'lookup' function passed as a template parameter. That function is expected to first check the environment and then the file system. Arguments are separated by spaces, tabs, or newlines. These can be imbedded within arguments by enclosing the argument in "". Backslashes can be used to escape a ". A line comment can be started with #. Recursively expands nested response files.

Meta