cfg_workspace: Accept outputs with spaces again
This is a regression from bce088679
.
An other way to fix this would be to concatenate strings inside the
strtok loop when an output starts with a double quote but I'd rather
let the parser do the word splitting.
Fixes #3646
This commit is contained in:
@ -277,11 +277,13 @@ state WORKSPACE:
|
||||
|
||||
state WORKSPACE_OUTPUT:
|
||||
'output'
|
||||
-> WORKSPACE_OUTPUT_STR
|
||||
-> WORKSPACE_OUTPUT_WORD
|
||||
|
||||
state WORKSPACE_OUTPUT_STR:
|
||||
output = string
|
||||
-> call cfg_workspace($workspace, $output)
|
||||
state WORKSPACE_OUTPUT_WORD:
|
||||
output = word
|
||||
-> call cfg_workspace($workspace, $output); WORKSPACE_OUTPUT_WORD
|
||||
end
|
||||
-> INITIAL
|
||||
|
||||
# ipc-socket <path>
|
||||
state IPC_SOCKET:
|
||||
|
Reference in New Issue
Block a user