* Keep track of the source positions of attributes.
This commit is contained in:
@@ -20,7 +20,7 @@ bool parseOptionArg(const string & arg, Strings::iterator & i,
|
||||
if (i == argsEnd) throw error;
|
||||
string value = *i++;
|
||||
|
||||
Value & v(autoArgs[state.symbols.create(name)]);
|
||||
Value & v(autoArgs[state.symbols.create(name)].value);
|
||||
|
||||
if (arg == "--arg")
|
||||
state.mkThunk_( v, parseExprFromString(state, value, absPath(".")));
|
||||
|
||||
Reference in New Issue
Block a user