/[svn]/linuxsampler/trunk/src/network/lscp.y
ViewVC logotype

Diff of /linuxsampler/trunk/src/network/lscp.y

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 556 by schoenebeck, Sat May 21 01:10:12 2005 UTC revision 573 by schoenebeck, Tue May 24 03:18:30 2005 UTC
# Line 79  int yylex(YYSTYPE* yylval) { Line 79  int yylex(YYSTYPE* yylval) {
79    
80  //TODO: return more meaningful error messages  //TODO: return more meaningful error messages
81    
82    /*
83      The LSCP specification input file (Documentation/lscp.xml) is automatically
84      updated with this file using the scripts/update_grammar.pl script. Do not
85      modify or delete the GRAMMAR_BNF_BEGIN and GRAMMAR_BNF_END lines !
86    */
87    
88    // GRAMMAR_BNF_BEGIN - do NOT delete or modify this line !!!
89    
90  input                 : line LF  input                 : line LF
91                        | line CR LF                        | line CR LF
92                        ;                        ;
# Line 151  get_instruction       :  AVAILABLE_ENGIN Line 159  get_instruction       :  AVAILABLE_ENGIN
159                        |  CHANNEL SP STREAM_COUNT SP sampler_channel                                 { $$ = LSCPSERVER->GetStreamCount($5);                             }                        |  CHANNEL SP STREAM_COUNT SP sampler_channel                                 { $$ = LSCPSERVER->GetStreamCount($5);                             }
160                        |  CHANNEL SP VOICE_COUNT SP sampler_channel                                  { $$ = LSCPSERVER->GetVoiceCount($5);                              }                        |  CHANNEL SP VOICE_COUNT SP sampler_channel                                  { $$ = LSCPSERVER->GetVoiceCount($5);                              }
161                        |  ENGINE SP INFO SP engine_name                                              { $$ = LSCPSERVER->GetEngineInfo($5);                              }                        |  ENGINE SP INFO SP engine_name                                              { $$ = LSCPSERVER->GetEngineInfo($5);                              }
162                          |  SERVER SP INFO                                                             { $$ = LSCPSERVER->GetServerInfo();                                }
163                        ;                        ;
164    
165  set_instruction       :  AUDIO_OUTPUT_DEVICE_PARAMETER SP number SP string '=' param_val_list             { $$ = LSCPSERVER->SetAudioOutputDeviceParameter($3, $5, $7);      }  set_instruction       :  AUDIO_OUTPUT_DEVICE_PARAMETER SP number SP string '=' param_val_list             { $$ = LSCPSERVER->SetAudioOutputDeviceParameter($3, $5, $7);      }
# Line 255  param_val                 :  string Line 264  param_val                 :  string
264                            |  dotnum            { std::stringstream ss; ss << "\'" << $1 << "\'"; $$ = ss.str(); }                            |  dotnum            { std::stringstream ss; ss << "\'" << $1 << "\'"; $$ = ss.str(); }
265                            ;                            ;
266    
267    // GRAMMAR_BNF_END - do NOT delete or modify this line !!!
268    
269    
270  // atomic variable symbol rules  // atomic variable symbol rules
271    
# Line 505  MIDI_INPUT_TYPE       :  'M''I''D''I''_' Line 516  MIDI_INPUT_TYPE       :  'M''I''D''I''_'
516  MIDI_INPUT            :  'M''I''D''I''_''I''N''P''U''T'  MIDI_INPUT            :  'M''I''D''I''_''I''N''P''U''T'
517                        ;                        ;
518    
519    SERVER                :  'S''E''R''V''E''R'
520                          ;
521    
522  VOLUME                :  'V''O''L''U''M''E'  VOLUME                :  'V''O''L''U''M''E'
523                        ;                        ;
524    

Legend:
Removed from v.556  
changed lines
  Added in v.573

  ViewVC Help
Powered by ViewVC