DAPSpec: Add params to quale-iface-api
We add params to the quale iface (soon to be renamed to cologex-api). This allows us to eventually set the history length for stimbuffs.
This commit is contained in:
@@ -106,18 +106,20 @@ extrospector_spec:
|
||||
;
|
||||
|
||||
spec_body:
|
||||
STRING PIPE STRING PIPE STRING LPAREN opt_params RPAREN PIPE STRING LPAREN opt_params RPAREN PIPE STRING {
|
||||
STRING PIPE STRING LPAREN opt_params RPAREN PIPE STRING LPAREN opt_params RPAREN PIPE STRING LPAREN opt_params RPAREN PIPE STRING {
|
||||
$$ = new smo::device::DeviceAttachmentSpec();
|
||||
$$->deviceIdentifier = std::string($1);
|
||||
$$->sensorType = '\0'; // This will be set by the parent rule
|
||||
$$->qualeIfaceApi = std::string($3);
|
||||
$$->stimBuffApi = std::string($5);
|
||||
$$->stimBuffApiParams = std::move(*$7);
|
||||
$$->provider = std::string($10);
|
||||
$$->providerParams = std::move(*$12);
|
||||
$$->deviceSelector = std::string($15);
|
||||
delete $7;
|
||||
delete $12;
|
||||
$$->qualeIfaceApiParams = std::move(*$5);
|
||||
$$->stimBuffApi = std::string($8);
|
||||
$$->stimBuffApiParams = std::move(*$10);
|
||||
$$->provider = std::string($13);
|
||||
$$->providerParams = std::move(*$15);
|
||||
$$->deviceSelector = std::string($18);
|
||||
delete $5;
|
||||
delete $10;
|
||||
delete $15;
|
||||
}
|
||||
;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user