--- linuxsampler/trunk/src/network/lscp.y 2004/08/17 20:35:04 219 +++ linuxsampler/trunk/src/network/lscp.y 2004/08/20 17:25:19 221 @@ -68,7 +68,7 @@ %type char digit %type dotnum volume_value boolean %type number sampler_channel instrument_index audio_channel_index device_index midi_input_channel_index midi_input_port_index -%type string stringval digits param_val filename engine_name command create_instruction destroy_instruction get_instruction list_instruction load_instruction set_chan_instruction load_instr_args load_engine_args audio_output_type_name midi_input_type_name set_instruction subscribe_event unsubscribe_event +%type string text stringval digits param_val filename engine_name command create_instruction destroy_instruction get_instruction list_instruction load_instruction set_chan_instruction load_instr_args load_engine_args audio_output_type_name midi_input_type_name set_instruction subscribe_event unsubscribe_event %type buffer_size_type %type key_val_list @@ -340,8 +340,14 @@ | '\376' { $$ = '\376'; } | '\377' { $$ = '\377'; } ; -stringval : '\'' string '\'' { $$ = '\'' + $2 + '\''; } - | '\"' string '\"' { $$ = '\"' + $2 + '\"'; } +text : SP { $$ = " "; } + | string + | text SP { $$ = $1 + " "; } + | text string { $$ = $1 + $2; } + ; + +stringval : '\'' text '\'' { $$ = '\'' + $2 + '\''; } + | '\"' text '\"' { $$ = '\"' + $2 + '\"'; } ;