/[svn]/linuxsampler/trunk/src/network/lscpparser.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/network/lscpparser.cpp

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

revision 141 by senkov, Mon Jun 21 01:21:33 2004 UTC revision 143 by capela, Wed Jun 23 18:54:08 2004 UTC
# Line 93  Line 93 
93       AUDIO_OUTPUT_DEVICE_PARAMETER = 295,       AUDIO_OUTPUT_DEVICE_PARAMETER = 295,
94       AUDIO_OUTPUT_DRIVER = 296,       AUDIO_OUTPUT_DRIVER = 296,
95       AUDIO_OUTPUT_DRIVER_PARAMETER = 297,       AUDIO_OUTPUT_DRIVER_PARAMETER = 297,
96       MIDI_INPUT_PORT = 298,       AUDIO_OUTPUT_TYPE = 298,
97       MIDI_INPUT_CHANNEL = 299,       MIDI_INPUT_PORT = 299,
98       MIDI_INPUT_TYPE = 300,       MIDI_INPUT_CHANNEL = 300,
99       VOLUME = 301,       MIDI_INPUT_TYPE = 301,
100       BYTES = 302,       VOLUME = 302,
101       PERCENTAGE = 303,       BYTES = 303,
102       MISCELLANEOUS = 304       PERCENTAGE = 304,
103         MISCELLANEOUS = 305
104     };     };
105  #endif  #endif
106  #define CHAR 258  #define CHAR 258
# Line 142  Line 143 
143  #define AUDIO_OUTPUT_DEVICE_PARAMETER 295  #define AUDIO_OUTPUT_DEVICE_PARAMETER 295
144  #define AUDIO_OUTPUT_DRIVER 296  #define AUDIO_OUTPUT_DRIVER 296
145  #define AUDIO_OUTPUT_DRIVER_PARAMETER 297  #define AUDIO_OUTPUT_DRIVER_PARAMETER 297
146  #define MIDI_INPUT_PORT 298  #define AUDIO_OUTPUT_TYPE 298
147  #define MIDI_INPUT_CHANNEL 299  #define MIDI_INPUT_PORT 299
148  #define MIDI_INPUT_TYPE 300  #define MIDI_INPUT_CHANNEL 300
149  #define VOLUME 301  #define MIDI_INPUT_TYPE 301
150  #define BYTES 302  #define VOLUME 302
151  #define PERCENTAGE 303  #define BYTES 303
152  #define MISCELLANEOUS 304  #define PERCENTAGE 304
153    #define MISCELLANEOUS 305
154    
155    
156    
# Line 207  typedef int YYSTYPE; Line 209  typedef int YYSTYPE;
209    
210    
211  /* Line 214 of yacc.c.  */  /* Line 214 of yacc.c.  */
212  #line 210 "y.tab.c"  #line 212 "y.tab.c"
213    
214  #if ! defined (yyoverflow) || YYERROR_VERBOSE  #if ! defined (yyoverflow) || YYERROR_VERBOSE
215    
# Line 306  union yyalloc Line 308  union yyalloc
308  /* YYFINAL -- State number of the termination state. */  /* YYFINAL -- State number of the termination state. */
309  #define YYFINAL  30  #define YYFINAL  30
310  /* YYLAST -- Last index in YYTABLE.  */  /* YYLAST -- Last index in YYTABLE.  */
311  #define YYLAST   217  #define YYLAST   225
312    
313  /* YYNTOKENS -- Number of terminals. */  /* YYNTOKENS -- Number of terminals. */
314  #define YYNTOKENS  50  #define YYNTOKENS  51
315  /* YYNNTS -- Number of nonterminals. */  /* YYNNTS -- Number of nonterminals. */
316  #define YYNNTS  29  #define YYNNTS  30
317  /* YYNRULES -- Number of rules. */  /* YYNRULES -- Number of rules. */
318  #define YYNRULES  89  #define YYNRULES  92
319  /* YYNRULES -- Number of states. */  /* YYNRULES -- Number of states. */
320  #define YYNSTATES  232  #define YYNSTATES  239
321    
322  /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX.  */  /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX.  */
323  #define YYUNDEFTOK  2  #define YYUNDEFTOK  2
324  #define YYMAXUTOK   304  #define YYMAXUTOK   305
325    
326  #define YYTRANSLATE(YYX)                                                \  #define YYTRANSLATE(YYX)                                                \
327    ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)    ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
# Line 357  static const unsigned char yytranslate[] Line 359  static const unsigned char yytranslate[]
359        15,    16,    17,    18,    19,    20,    21,    22,    23,    24,        15,    16,    17,    18,    19,    20,    21,    22,    23,    24,
360        25,    26,    27,    28,    29,    30,    31,    32,    33,    34,        25,    26,    27,    28,    29,    30,    31,    32,    33,    34,
361        35,    36,    37,    38,    39,    40,    41,    42,    43,    44,        35,    36,    37,    38,    39,    40,    41,    42,    43,    44,
362        45,    46,    47,    48,    49        45,    46,    47,    48,    49,    50
363  };  };
364    
365  #if YYDEBUG  #if YYDEBUG
# Line 371  static const unsigned short yyprhs[] = Line 373  static const unsigned short yyprhs[] =
373        93,    95,    97,    99,   101,   103,   105,   107,   109,   111,        93,    95,    97,    99,   101,   103,   105,   107,   109,   111,
374       113,   119,   127,   137,   139,   145,   153,   163,   165,   171,       113,   119,   127,   137,   139,   145,   153,   163,   165,   171,
375       179,   185,   191,   197,   205,   215,   219,   225,   229,   233,       179,   185,   191,   197,   205,   215,   219,   225,   229,   233,
376       237,   241,   247,   255,   261,   267,   273,   279,   283,   289,       237,   241,   247,   255,   261,   267,   273,   279,   285,   289,
377       291,   293,   295,   301,   309,   313,   315,   317,   319,   321,       295,   297,   299,   301,   307,   315,   319,   321,   323,   325,
378       323,   325,   327,   329,   331,   333,   335,   337,   339,   341       327,   329,   331,   333,   335,   337,   339,   341,   343,   345,
379         347,   349,   351
380  };  };
381    
382  /* YYRHS -- A `-1'-separated list of the rules' RHS. */  /* YYRHS -- A `-1'-separated list of the rules' RHS. */
383  static const yysigned_char yyrhs[] =  static const yysigned_char yyrhs[] =
384  {  {
385        51,     0,    -1,    52,    -1,    51,     8,    52,    -1,    51,        52,     0,    -1,    53,    -1,    52,     8,    53,    -1,    52,
386         9,     8,    52,    -1,    -1,    53,    -1,    54,    -1,     1,         9,     8,    53,    -1,    -1,    54,    -1,    55,    -1,     1,
387        -1,    10,    -1,    53,    10,    -1,    53,     7,    -1,    53,        -1,    10,    -1,    54,    10,    -1,    54,     7,    -1,    54,
388         5,    -1,    53,    78,    -1,    12,     7,    25,    -1,    13,         5,    -1,    54,    80,    -1,    12,     7,    25,    -1,    13,
389         7,    57,    -1,    14,     7,    59,    -1,    15,     7,    60,         7,    58,    -1,    14,     7,    60,    -1,    15,     7,    61,
390        -1,    16,     7,    65,    -1,    17,     7,    61,    -1,    19,        -1,    16,     7,    66,    -1,    17,     7,    62,    -1,    19,
391         7,    25,     7,    70,    -1,    20,     7,    58,    -1,    21,         7,    25,     7,    72,    -1,    20,     7,    59,    -1,    21,
392         7,    55,    -1,    22,     7,    56,    -1,    23,     7,    25,         7,    56,    -1,    22,     7,    57,    -1,    23,     7,    25,
393         7,    70,    -1,    24,    -1,    29,    -1,    33,    -1,    32,         7,    72,    -1,    24,    -1,    29,    -1,    33,    -1,    32,
394        -1,    31,    -1,    30,    -1,    49,    -1,    29,    -1,    33,        -1,    31,    -1,    30,    -1,    50,    -1,    29,    -1,    33,
395        -1,    32,    -1,    31,    -1,    30,    -1,    49,    -1,    27,        -1,    32,    -1,    31,    -1,    30,    -1,    50,    -1,    27,
396        -1,    28,    -1,    41,     7,    30,     7,    78,    -1,    42,        -1,    28,    -1,    41,     7,    30,     7,    80,    -1,    42,
397         7,    30,     7,    78,     7,    78,    -1,    42,     7,    30,         7,    30,     7,    80,     7,    80,    -1,    42,     7,    30,
398         7,    78,     7,    78,     7,    63,    -1,    39,    -1,    38,         7,    80,     7,    80,     7,    64,    -1,    39,    -1,    38,
399         7,    30,     7,     5,    -1,    36,     7,    30,     7,     5,         7,    30,     7,     5,    -1,    36,     7,    30,     7,     5,
400         7,     5,    -1,    37,     7,    30,     7,     5,     7,     5,         7,     5,    -1,    37,     7,    30,     7,     5,     7,     5,
401         7,    78,    -1,    29,    -1,    25,     7,    30,     7,    70,         7,    80,    -1,    29,    -1,    25,     7,    30,     7,    72,
402        -1,    25,     7,    31,     7,    64,     7,    70,    -1,    25,        -1,    25,     7,    31,     7,    65,     7,    72,    -1,    25,
403         7,    32,     7,    70,    -1,    25,     7,    33,     7,    70,         7,    32,     7,    72,    -1,    25,     7,    33,     7,    72,
404        -1,    35,     7,    30,     7,    74,    -1,    40,     7,     5,        -1,    35,     7,    30,     7,    76,    -1,    40,     7,     5,
405         7,    78,    11,    77,    -1,    37,     7,     5,     7,     5,         7,    80,    11,    79,    -1,    37,     7,     5,     7,     5,
406         7,    78,    11,    77,    -1,    25,     7,    62,    -1,    38,         7,    80,    11,    79,    -1,    25,     7,    63,    -1,    38,
407         7,    78,     7,    63,    -1,    38,     7,    78,    -1,    38,         7,    80,     7,    64,    -1,    38,     7,    80,    -1,    38,
408         7,     5,    -1,    34,     7,    66,    -1,    35,     7,    67,         7,     5,    -1,    34,     7,    67,    -1,    35,     7,    68,
409        -1,    38,     7,    70,     7,     5,    -1,    36,     7,    70,        -1,    38,     7,    72,     7,     5,    -1,    36,     7,    72,
410         7,    72,     7,    72,    -1,    43,     7,    70,     7,    75,         7,    74,     7,    74,    -1,    43,     7,    72,     7,    69,
411        -1,    44,     7,    70,     7,    73,    -1,    45,     7,    70,        -1,    44,     7,    72,     7,    77,    -1,    45,     7,    72,
412         7,    68,    -1,    46,     7,    70,     7,    69,    -1,    78,         7,    75,    -1,    46,     7,    72,     7,    70,    -1,    47,
413        11,    77,    -1,    63,     7,    78,    11,    77,    -1,    47,         7,    72,     7,    71,    -1,    80,    11,    79,    -1,    64,
414        -1,    48,    -1,    39,    -1,    76,     7,    71,     7,    70,         7,    80,    11,    79,    -1,    48,    -1,    49,    -1,    39,
415        -1,    18,     7,    76,     7,    71,     7,    70,    -1,    74,        -1,    78,     7,    73,     7,    72,    -1,    18,     7,    78,
416         7,    70,    -1,    78,    -1,     4,    -1,     5,    -1,     5,         7,    73,     7,    72,    -1,    76,     7,    72,    -1,    80,
417        -1,     5,    -1,     5,    -1,     5,    -1,    78,    -1,     6,        -1,    80,    -1,     4,    -1,     5,    -1,     5,    -1,     5,
418        -1,     6,    -1,     6,    -1,     5,    -1,     4,    -1,     3,        -1,     5,    -1,     5,    -1,    80,    -1,     6,    -1,     6,
419        -1,    78,     3,    -1        -1,    80,    -1,     6,    -1,     5,    -1,     4,    -1,     3,
420          -1,    80,     3,    -1
421  };  };
422    
423  /* YYRLINE[YYN] -- source line where rule number YYN was defined.  */  /* YYRLINE[YYN] -- source line where rule number YYN was defined.  */
# Line 425  static const unsigned char yyrline[] = Line 429  static const unsigned char yyrline[] =
429       113,   114,   117,   118,   119,   120,   121,   122,   125,   126,       113,   114,   117,   118,   119,   120,   121,   122,   125,   126,
430       127,   128,   129,   130,   131,   132,   133,   134,   135,   136,       127,   128,   129,   130,   131,   132,   133,   134,   135,   136,
431       137,   138,   139,   142,   143,   144,   147,   148,   151,   154,       137,   138,   139,   142,   143,   144,   147,   148,   151,   154,
432       155,   158,   159,   160,   161,   162,   163,   166,   167,   170,       155,   158,   159,   160,   161,   162,   163,   164,   167,   168,
433       171,   174,   177,   178,   181,   184,   187,   188,   191,   194,       171,   172,   175,   178,   179,   182,   185,   188,   191,   192,
434       197,   200,   203,   206,   209,   212,   213,   214,   217,   218       195,   198,   201,   204,   207,   210,   213,   214,   217,   218,
435         219,   222,   223
436  };  };
437  #endif  #endif
438    
# Line 445  static const char *const yytname[] = Line 450  static const char *const yytname[] =
450    "ENGINE", "AUDIO_OUTPUT_CHANNEL", "AUDIO_OUTPUT_CHANNEL_PARAMETER",    "ENGINE", "AUDIO_OUTPUT_CHANNEL", "AUDIO_OUTPUT_CHANNEL_PARAMETER",
451    "AUDIO_OUTPUT_DEVICE", "AUDIO_OUTPUT_DEVICES",    "AUDIO_OUTPUT_DEVICE", "AUDIO_OUTPUT_DEVICES",
452    "AUDIO_OUTPUT_DEVICE_PARAMETER", "AUDIO_OUTPUT_DRIVER",    "AUDIO_OUTPUT_DEVICE_PARAMETER", "AUDIO_OUTPUT_DRIVER",
453    "AUDIO_OUTPUT_DRIVER_PARAMETER", "MIDI_INPUT_PORT",    "AUDIO_OUTPUT_DRIVER_PARAMETER", "AUDIO_OUTPUT_TYPE", "MIDI_INPUT_PORT",
454    "MIDI_INPUT_CHANNEL", "MIDI_INPUT_TYPE", "VOLUME", "BYTES",    "MIDI_INPUT_CHANNEL", "MIDI_INPUT_TYPE", "VOLUME", "BYTES",
455    "PERCENTAGE", "MISCELLANEOUS", "$accept", "input", "line", "comment",    "PERCENTAGE", "MISCELLANEOUS", "$accept", "input", "line", "comment",
456    "command", "subscribe_event", "unsubscribe_event", "get_instruction",    "command", "subscribe_event", "unsubscribe_event", "get_instruction",
457    "set_instruction", "create_instruction", "destroy_instruction",    "set_instruction", "create_instruction", "destroy_instruction",
458    "load_instruction", "set_chan_instruction", "key_val_list",    "load_instruction", "set_chan_instruction", "key_val_list",
459    "buffer_size_type", "list_instruction", "load_instr_args",    "buffer_size_type", "list_instruction", "load_instr_args",
460    "load_engine_args", "midi_input_type", "volume", "sampler_channel",    "load_engine_args", "audio_output_type", "midi_input_type", "volume",
461    "instrument_index", "audio_output_channel", "midi_input_channel",    "sampler_channel", "instrument_index", "audio_output_channel",
462    "engine_name", "midi_input_port", "filename", "param_val", "string", 0    "midi_input_channel", "engine_name", "midi_input_port", "filename",
463      "param_val", "string", 0
464  };  };
465  #endif  #endif
466    
# Line 467  static const unsigned short yytoknum[] = Line 473  static const unsigned short yytoknum[] =
473       265,   266,   267,   268,   269,   270,   271,   272,   273,   274,       265,   266,   267,   268,   269,   270,   271,   272,   273,   274,
474       275,   276,   277,   278,   279,   280,   281,   282,   283,   284,       275,   276,   277,   278,   279,   280,   281,   282,   283,   284,
475       285,   286,   287,   288,   289,   290,   291,   292,   293,   294,       285,   286,   287,   288,   289,   290,   291,   292,   293,   294,
476       295,   296,   297,   298,   299,   300,   301,   302,   303,   304       295,   296,   297,   298,   299,   300,   301,   302,   303,   304,
477         305
478  };  };
479  # endif  # endif
480    
481  /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives.  */  /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives.  */
482  static const unsigned char yyr1[] =  static const unsigned char yyr1[] =
483  {  {
484         0,    50,    51,    51,    51,    52,    52,    52,    52,    53,         0,    51,    52,    52,    52,    53,    53,    53,    53,    54,
485        53,    53,    53,    53,    54,    54,    54,    54,    54,    54,        54,    54,    54,    54,    55,    55,    55,    55,    55,    55,
486        54,    54,    54,    54,    54,    54,    55,    55,    55,    55,        55,    55,    55,    55,    55,    55,    56,    56,    56,    56,
487        55,    55,    56,    56,    56,    56,    56,    56,    57,    57,        56,    56,    57,    57,    57,    57,    57,    57,    58,    58,
488        57,    57,    57,    57,    57,    57,    57,    57,    57,    57,        58,    58,    58,    58,    58,    58,    58,    58,    58,    58,
489        57,    57,    57,    58,    58,    58,    59,    59,    60,    61,        58,    58,    58,    59,    59,    59,    60,    60,    61,    62,
490        61,    62,    62,    62,    62,    62,    62,    63,    63,    64,        62,    63,    63,    63,    63,    63,    63,    63,    64,    64,
491        64,    65,    66,    66,    67,    68,    69,    69,    70,    71,        65,    65,    66,    67,    67,    68,    69,    70,    71,    71,
492        72,    73,    74,    75,    76,    77,    77,    77,    78,    78        72,    73,    74,    75,    76,    77,    78,    78,    79,    79,
493          79,    80,    80
494  };  };
495    
496  /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN.  */  /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN.  */
# Line 494  static const unsigned char yyr2[] = Line 502  static const unsigned char yyr2[] =
502         1,     1,     1,     1,     1,     1,     1,     1,     1,     1,         1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
503         5,     7,     9,     1,     5,     7,     9,     1,     5,     7,         5,     7,     9,     1,     5,     7,     9,     1,     5,     7,
504         5,     5,     5,     7,     9,     3,     5,     3,     3,     3,         5,     5,     5,     7,     9,     3,     5,     3,     3,     3,
505         3,     5,     7,     5,     5,     5,     5,     3,     5,     1,         3,     5,     7,     5,     5,     5,     5,     5,     3,     5,
506         1,     1,     5,     7,     3,     1,     1,     1,     1,     1,         1,     1,     1,     5,     7,     3,     1,     1,     1,     1,
507         1,     1,     1,     1,     1,     1,     1,     1,     1,     2         1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
508           1,     1,     2
509  };  };
510    
511  /* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state  /* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state
# Line 507  static const unsigned char yydefact[] = Line 516  static const unsigned char yydefact[] =
516         0,     8,     9,     0,     0,     0,     0,     0,     0,     0,         0,     8,     9,     0,     0,     0,     0,     0,     0,     0,
517         0,     0,     0,     0,    25,     0,     2,     6,     7,     0,         0,     0,     0,     0,    25,     0,     2,     6,     7,     0,
518         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
519         1,     0,     0,    88,    12,    11,    10,    13,    14,     0,         1,     0,     0,    91,    12,    11,    10,    13,    14,     0,
520        38,    39,    47,     0,     0,     0,     0,    43,     0,     0,        38,    39,    47,     0,     0,     0,     0,    43,     0,     0,
521        15,     0,    16,     0,    17,    71,    18,     0,     0,    19,        15,     0,    16,     0,    17,    72,    18,     0,     0,    19,
522         0,     0,     0,     0,    21,    26,    30,    29,    28,    27,         0,     0,     0,     0,    21,    26,    30,    29,    28,    27,
523        31,    22,    32,    36,    35,    34,    33,    37,    23,     0,        31,    22,    32,    36,    35,    34,    33,    37,    23,     0,
524         3,     0,    89,     0,     0,     0,     0,     0,     0,     0,         3,     0,    92,     0,     0,     0,     0,     0,     0,     0,
525         0,     0,     0,     0,     0,     0,     0,     0,     0,     4,         0,     0,     0,     0,     0,     0,     0,     0,     0,     4,
526         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
527        57,    58,    84,     0,    59,     0,    60,     0,    82,    78,        57,    58,    86,     0,    59,     0,    87,    60,     0,    84,
528        20,     0,     0,     0,     0,     0,     0,    55,     0,     0,        80,    20,     0,     0,     0,     0,     0,     0,     0,    55,
529        24,     0,     0,     0,     0,     0,     0,     0,     0,     0,         0,     0,    24,     0,     0,     0,     0,     0,     0,     0,
530           0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
531           0,     0,     0,     0,     0,     0,    48,    70,    71,     0,
532          50,    51,    52,     0,     0,    44,    40,     0,    56,     0,
533           0,    81,     0,    75,     0,     0,     0,     0,     0,     0,
534         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
        0,     0,     0,    48,    69,    70,     0,    50,    51,    52,  
        0,     0,    44,    40,     0,    56,     0,     0,    79,     0,  
       74,     0,     0,     0,     0,     0,     0,     0,     0,     0,  
535         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
536         0,     0,     0,     0,     0,    49,    45,     0,    41,     0,        49,    45,     0,    41,     0,    90,    89,    88,    68,     0,
537        87,    86,    85,    67,     0,    72,    80,     0,    61,    83,        73,    82,     0,    61,    63,    76,    85,    64,    83,    65,
538        63,    81,    64,    65,    75,    76,    77,    66,     0,    53,        66,    77,    78,    79,    67,     0,    53,     0,     0,     0,
539         0,     0,     0,     0,     0,     0,    46,    42,    68,    73,         0,     0,     0,    46,    42,    69,    74,    62,    54
       62,    54  
540  };  };
541    
542  /* YYDEFGOTO[NTERM-NUM]. */  /* YYDEFGOTO[NTERM-NUM]. */
543  static const short yydefgoto[] =  static const short yydefgoto[] =
544  {  {
545        -1,    15,    16,    17,    18,    71,    78,    50,    64,    52,        -1,    15,    16,    17,    18,    71,    78,    50,    64,    52,
546        54,    59,   127,   165,   156,    56,   114,   116,   213,   217,        54,    59,   129,   168,   159,    56,   114,   117,   214,   220,
547       120,   169,   207,   212,   117,   210,   115,   203,   118       224,   121,   172,   212,   219,   118,   217,   115,   208,   116
548  };  };
549    
550  /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing  /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
551     STATE-NUM.  */     STATE-NUM.  */
552  #define YYPACT_NINF -193  #define YYPACT_NINF -198
553  static const short yypact[] =  static const short yypact[] =
554  {  {
555         5,  -193,  -193,    25,    77,    93,    99,   101,   105,   107,         3,  -198,  -198,    -1,     1,    30,    53,    81,    83,   115,
556       108,   109,   110,   111,  -193,     3,  -193,    94,  -193,    -9,       116,   120,   121,   122,  -198,    21,  -198,    98,  -198,    22,
557        39,    34,    75,    80,    10,    96,     6,     9,    30,   103,        43,   -10,    20,    82,    40,   105,     8,    11,    33,   106,
558      -193,     5,   112,  -193,  -193,  -193,  -193,   122,  -193,   120,      -198,     3,   124,  -198,  -198,  -198,  -198,   131,  -198,   128,
559      -193,  -193,  -193,   123,   124,   125,   126,  -193,   127,   129,      -198,  -198,  -198,   129,   130,   132,   133,  -198,   134,   135,
560      -193,   130,  -193,   131,  -193,  -193,  -193,   132,   133,  -193,      -198,   136,  -198,   137,  -198,  -198,  -198,   138,   139,  -198,
561       134,   135,   136,   137,  -193,  -193,  -193,  -193,  -193,  -193,       140,   141,   142,   143,  -198,  -198,  -198,  -198,  -198,  -198,
562      -193,  -193,  -193,  -193,  -193,  -193,  -193,  -193,  -193,   138,      -198,  -198,  -198,  -198,  -198,  -198,  -198,  -198,  -198,   144,
563      -193,     5,  -193,   -23,   116,   117,   118,   119,   121,   128,      -198,     3,  -198,    79,   123,   125,   126,   127,   145,   147,
564       147,   148,    17,   147,   149,    47,   150,   151,   149,  -193,       149,   153,    28,   149,   154,    51,   155,   156,   154,  -198,
565       145,   152,   153,   154,   155,   156,   157,   160,   161,   162,       157,   158,   159,   160,   161,   164,   165,   166,   167,   171,
566        95,  -193,  -193,   163,  -193,   164,  -193,   165,   122,  -193,         2,  -198,  -198,   173,  -198,   175,   131,  -198,   176,   131,
567      -193,   166,   168,   170,   171,   172,   173,  -193,   174,   175,      -198,  -198,   177,   178,   179,   180,   181,   182,   183,  -198,
568      -193,   149,     8,   149,   149,   147,   178,   179,   180,   147,       184,   185,  -198,   154,    68,   154,   154,   149,   188,   189,
569       147,   147,   181,   183,   149,   149,   149,   149,   149,   149,       190,   149,   149,   149,   101,   191,   154,   154,   154,   154,
570       149,   184,   147,  -193,  -193,  -193,   185,  -193,  -193,  -193,       154,   154,   154,   154,   192,   149,  -198,  -198,  -198,   193,
571       186,   187,  -193,   122,   100,   188,    54,   189,  -193,   190,      -198,  -198,  -198,   194,   195,  -198,   131,     7,   196,    56,
572      -193,   191,   192,   193,   194,   195,   198,   199,    83,   149,       197,  -198,   198,  -198,   199,   200,   201,   202,   205,   206,
573       202,   203,   147,   147,    65,   183,   149,   204,   205,   206,       207,   208,    66,   154,   211,   212,   149,   149,   109,   191,
574       208,   147,   106,   147,    65,  -193,  -193,   207,   102,    84,       154,   213,   214,   149,   148,   215,   149,   114,   149,   109,
575      -193,  -193,  -193,  -193,   209,  -193,  -193,   210,  -193,  -193,      -198,  -198,   216,    99,    88,  -198,  -198,  -198,  -198,   217,
576      -193,  -193,  -193,  -193,   122,  -193,  -193,  -193,    85,  -193,      -198,  -198,   218,  -198,  -198,   131,  -198,  -198,  -198,  -198,
577       147,   147,    65,   149,   204,    65,   122,   188,  -193,  -193,      -198,   131,  -198,  -198,  -198,    89,  -198,   149,   149,   109,
578      -193,  -193       154,   213,   109,   131,   196,  -198,  -198,  -198,  -198
579  };  };
580    
581  /* YYPGOTO[NTERM-NUM].  */  /* YYPGOTO[NTERM-NUM].  */
582  static const short yypgoto[] =  static const short yypgoto[] =
583  {  {
584      -193,  -193,   -27,  -193,  -193,  -193,  -193,  -193,  -193,  -193,      -198,  -198,   -24,  -198,  -198,  -198,  -198,  -198,  -198,  -198,
585      -193,  -193,  -193,   -92,  -193,  -193,  -193,  -193,  -193,  -193,      -198,  -198,  -198,   -66,  -198,  -198,  -198,  -198,  -198,  -198,
586       -97,   -28,   -38,  -193,    55,  -193,    49,  -192,   -17      -198,   -97,   -26,   -33,  -198,    62,  -198,    77,  -197,   -17
587  };  };
588    
589  /* YYTABLE[YYPACT[STATE-NUM]].  What to do in state STATE-NUM.  If  /* YYTABLE[YYPACT[STATE-NUM]].  What to do in state STATE-NUM.  If
# Line 584  static const short yypgoto[] = Line 593  static const short yypgoto[] =
593  #define YYTABLE_NINF -6  #define YYTABLE_NINF -6
594  static const short yytable[] =  static const short yytable[] =
595  {  {
596        37,   130,   219,    30,    80,    -5,     1,   100,   101,   102,        37,   132,   226,    -5,     1,    82,    19,    80,    20,   143,
597       103,    31,    32,    -5,    -5,     2,    38,     3,     4,     5,        82,    -5,    -5,     2,   186,     3,     4,     5,     6,     7,
598         6,     7,     8,   112,     9,    10,    11,    12,    13,    14,         8,    30,     9,    10,    11,    12,    13,    14,    51,    31,
599       228,    61,    19,   231,   153,   113,   157,   158,    65,    66,        32,    33,   235,    61,   112,   238,   156,    21,   160,   161,
600        67,    68,    69,    62,    57,    58,    63,   170,   171,   172,        65,    66,    67,    68,    69,    62,   113,    38,    63,   173,
601       173,   174,   175,   176,    99,   154,   155,    82,    70,    72,       174,   175,   176,   177,   178,   179,   180,    99,    53,    82,
602        73,    74,    75,    76,    39,   184,    40,    41,    42,   200,        22,    70,    72,    73,    74,    75,    76,   188,    39,    82,
603       201,   202,    51,   110,    43,    44,    45,    46,    47,    77,        40,    41,    42,   110,    57,    58,   119,   199,    43,    44,
604        48,    49,   195,   121,    20,   122,    82,    82,    82,   205,        45,    46,    47,    77,    48,    49,   200,   122,    23,   123,
605       123,   124,   125,   126,   194,   222,   225,    33,    82,    34,        24,    82,    82,   210,   124,   125,   126,   127,   128,   229,
606        21,    35,   141,    82,    36,    82,    22,   182,    23,   221,       232,    33,    82,    34,    33,    35,   228,   112,    36,   100,
607       215,   216,    24,    53,    25,    26,    27,    28,    29,    55,       101,   102,   103,   205,   206,   207,   157,   158,   222,   223,
608        81,    60,   163,   164,   166,    82,   229,    83,    79,   227,       119,    55,    25,    26,   166,   167,   169,    27,    28,    29,
609        84,    85,    86,    87,    88,   178,    89,    90,    91,    92,        60,    79,    81,   236,    82,    83,    84,    85,   182,    86,
610        93,    94,    95,    96,    97,    98,   104,   105,   106,   107,        87,    88,    89,    90,    91,    92,    93,    94,    95,    96,
611        33,   108,   131,   111,   119,   128,   129,   204,   109,   132,        97,    98,    33,   104,   216,   105,   106,   107,   111,   120,
612       133,   134,   135,   136,   137,   198,   199,   138,   139,   140,       130,   131,   234,   209,   133,   134,   135,   136,   137,   203,
613       142,   143,   144,   145,   214,   146,   218,   147,   148,   149,       204,   138,   139,   140,   141,   108,   215,   109,   142,   221,
614       150,   151,   152,   160,   161,   162,   230,   112,   168,   177,       144,   225,   145,   146,   147,   148,   149,   150,   151,   152,
615       159,   167,   179,   180,   181,   183,   185,   186,   187,   188,       153,   154,   155,   163,   164,   165,   171,   181,   237,   162,
616       189,   190,   191,   226,   166,   192,   193,   196,   197,   206,       183,   184,   185,   187,   189,   190,   191,   192,   193,   194,
617       208,     0,   209,   211,   220,     0,   223,   224       233,   169,   195,   196,   197,   198,   201,   202,   211,   213,
618         218,   170,     0,   227,   230,   231
619  };  };
620    
621  static const short yycheck[] =  static const short yycheck[] =
622  {  {
623        17,    98,   194,     0,    31,     0,     1,    30,    31,    32,        17,    98,   199,     0,     1,     3,     7,    31,     7,     7,
624        33,     8,     9,     8,     9,    10,    25,    12,    13,    14,         3,     8,     9,    10,     7,    12,    13,    14,    15,    16,
625        15,    16,    17,     6,    19,    20,    21,    22,    23,    24,        17,     0,    19,    20,    21,    22,    23,    24,    38,     8,
626       222,    25,     7,   225,   131,    18,   133,   134,    29,    30,         9,     3,   229,    25,     6,   232,   133,     7,   135,   136,
627        31,    32,    33,    37,    34,    35,    40,   144,   145,   146,        29,    30,    31,    32,    33,    37,    18,    25,    40,   146,
628       147,   148,   149,   150,    81,    47,    48,     3,    49,    29,       147,   148,   149,   150,   151,   152,   153,    81,    38,     3,
629        30,    31,    32,    33,    25,    11,    27,    28,    29,     4,         7,    50,    29,    30,    31,    32,    33,    11,    25,     3,
630         5,     6,    38,    90,    35,    36,    37,    38,    39,    49,        27,    28,    29,    90,    34,    35,    93,    11,    35,    36,
631        41,    42,   179,    36,     7,    38,     3,     3,     3,   186,        37,    38,    39,    50,    41,    42,   183,    36,     7,    38,
632        43,    44,    45,    46,    11,    11,    11,     3,     3,     5,         7,     3,     3,   190,    43,    44,    45,    46,    47,    11,
633         7,     7,     7,     3,    10,     3,     7,     7,     7,     7,        11,     3,     3,     5,     3,     7,     7,     6,    10,    30,
634         4,     5,     7,    38,     7,     7,     7,     7,     7,    39,        31,    32,    33,     4,     5,     6,    48,    49,     4,     5,
635         8,    25,   139,   140,   141,     3,   223,     7,    25,   221,       137,    39,     7,     7,   141,   142,   143,     7,     7,     7,
636         7,     7,     7,     7,     7,   152,     7,     7,     7,     7,        25,    25,     8,   230,     3,     7,     7,     7,   155,     7,
637         7,     7,     7,     7,     7,     7,    30,    30,    30,    30,         7,     7,     7,     7,     7,     7,     7,     7,     7,     7,
638         3,    30,     7,     5,     5,     5,     5,   185,    30,     7,         7,     7,     3,    30,     6,    30,    30,    30,     5,     5,
639         7,     7,     7,     7,     7,   182,   183,     7,     7,     7,         5,     5,   228,   189,     7,     7,     7,     7,     7,   186,
640         7,     7,     7,     7,   191,     7,   193,     7,     7,     7,       187,     7,     7,     7,     7,    30,   193,    30,     7,   196,
641         7,     7,     7,     5,     5,     5,   224,     6,     5,     5,         7,   198,     7,     7,     7,     7,     7,     7,     7,     7,
642       135,   142,     7,     7,     7,     7,     7,     7,     7,     7,         7,     7,     7,     5,     5,     5,     5,     5,   231,   137,
643         7,     7,     7,   220,   221,     7,     7,     5,     5,     5,         7,     7,     7,     7,     7,     7,     7,     7,     7,     7,
644         5,    -1,     6,     5,     7,    -1,     7,     7       227,   228,     7,     7,     7,     7,     5,     5,     5,     5,
645           5,   144,    -1,     7,     7,     7
646  };  };
647    
648  /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing  /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
# Line 639  static const short yycheck[] = Line 650  static const short yycheck[] =
650  static const unsigned char yystos[] =  static const unsigned char yystos[] =
651  {  {
652         0,     1,    10,    12,    13,    14,    15,    16,    17,    19,         0,     1,    10,    12,    13,    14,    15,    16,    17,    19,
653        20,    21,    22,    23,    24,    51,    52,    53,    54,     7,        20,    21,    22,    23,    24,    52,    53,    54,    55,     7,
654         7,     7,     7,     7,     7,     7,     7,     7,     7,     7,         7,     7,     7,     7,     7,     7,     7,     7,     7,     7,
655         0,     8,     9,     3,     5,     7,    10,    78,    25,    25,         0,     8,     9,     3,     5,     7,    10,    80,    25,    25,
656        27,    28,    29,    35,    36,    37,    38,    39,    41,    42,        27,    28,    29,    35,    36,    37,    38,    39,    41,    42,
657        57,    38,    59,    38,    60,    39,    65,    34,    35,    61,        58,    38,    60,    38,    61,    39,    66,    34,    35,    62,
658        25,    25,    37,    40,    58,    29,    30,    31,    32,    33,        25,    25,    37,    40,    59,    29,    30,    31,    32,    33,
659        49,    55,    29,    30,    31,    32,    33,    49,    56,    25,        50,    56,    29,    30,    31,    32,    33,    50,    57,    25,
660        52,     8,     3,     7,     7,     7,     7,     7,     7,     7,        53,     8,     3,     7,     7,     7,     7,     7,     7,     7,
661         7,     7,     7,     7,     7,     7,     7,     7,     7,    52,         7,     7,     7,     7,     7,     7,     7,     7,     7,    53,
662        30,    31,    32,    33,    30,    30,    30,    30,    30,    30,        30,    31,    32,    33,    30,    30,    30,    30,    30,    30,
663        78,     5,     6,    18,    66,    76,    67,    74,    78,     5,        80,     5,     6,    18,    67,    78,    80,    68,    76,    80,
664        70,    36,    38,    43,    44,    45,    46,    62,     5,     5,         5,    72,    36,    38,    43,    44,    45,    46,    47,    63,
665        70,     7,     7,     7,     7,     7,     7,     7,     7,     7,         5,     5,    72,     7,     7,     7,     7,     7,     7,     7,
666         7,     7,     7,     7,     7,     7,     7,     7,     7,     7,         7,     7,     7,     7,     7,     7,     7,     7,     7,     7,
667         7,     7,     7,    70,    47,    48,    64,    70,    70,    74,         7,     7,     7,     7,     7,     7,    72,    48,    49,    65,
668         5,     5,     5,    78,    78,    63,    78,    76,     5,    71,        72,    72,    76,     5,     5,     5,    80,    80,    64,    80,
669        70,    70,    70,    70,    70,    70,    70,     5,    78,     7,        78,     5,    73,    72,    72,    72,    72,    72,    72,    72,
670         7,     7,     7,     7,    11,     7,     7,     7,     7,     7,        72,     5,    80,     7,     7,     7,     7,     7,    11,     7,
671         7,     7,     7,     7,    11,    70,     5,     5,    78,    78,         7,     7,     7,     7,     7,     7,     7,     7,     7,    11,
672         4,     5,     6,    77,    71,    70,     5,    72,     5,     6,        72,     5,     5,    80,    80,     4,     5,     6,    79,    73,
673        75,     5,    73,    68,    78,     4,     5,    69,    78,    77,        72,     5,    74,     5,    69,    80,     6,    77,     5,    75,
674         7,     7,    11,     7,     7,    11,    78,    63,    77,    70,        70,    80,     4,     5,    71,    80,    79,     7,     7,    11,
675        72,    77         7,     7,    11,    80,    64,    79,    72,    74,    79
676  };  };
677    
678  #if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__)  #if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__)
# Line 1528  yyreduce: Line 1539  yyreduce:
1539    
1540    case 63:    case 63:
1541  #line 160 "lscp.y"  #line 160 "lscp.y"
1542      { yyval.String = LSCPSERVER->SetMIDIInputPort(yyvsp[0].String, yyvsp[-2].Number);          }      { yyval.String = LSCPSERVER->SetAudioOutputType(yyvsp[0].String, yyvsp[-2].Number);        }
1543      break;      break;
1544    
1545    case 64:    case 64:
1546  #line 161 "lscp.y"  #line 161 "lscp.y"
1547      { yyval.String = LSCPSERVER->SetMIDIInputChannel(yyvsp[0].Number, yyvsp[-2].Number);       }      { yyval.String = LSCPSERVER->SetMIDIInputPort(yyvsp[0].String, yyvsp[-2].Number);          }
1548      break;      break;
1549    
1550    case 65:    case 65:
1551  #line 162 "lscp.y"  #line 162 "lscp.y"
1552      { yyval.String = LSCPSERVER->SetMIDIInputType(yyvsp[0].String, yyvsp[-2].Number);          }      { yyval.String = LSCPSERVER->SetMIDIInputChannel(yyvsp[0].Number, yyvsp[-2].Number);       }
1553      break;      break;
1554    
1555    case 66:    case 66:
1556  #line 163 "lscp.y"  #line 163 "lscp.y"
1557      { yyval.String = LSCPSERVER->SetVolume(yyvsp[0].Dotnum, yyvsp[-2].Number);                 }      { yyval.String = LSCPSERVER->SetMIDIInputType(yyvsp[0].String, yyvsp[-2].Number);          }
1558      break;      break;
1559    
1560    case 67:    case 67:
1561  #line 166 "lscp.y"  #line 164 "lscp.y"
1562      { yyval.KeyValList[yyvsp[-2].String] = yyvsp[0].String;          }      { yyval.String = LSCPSERVER->SetVolume(yyvsp[0].Dotnum, yyvsp[-2].Number);                 }
1563      break;      break;
1564    
1565    case 68:    case 68:
1566  #line 167 "lscp.y"  #line 167 "lscp.y"
1567      { yyval.KeyValList = yyvsp[-4].KeyValList; yyval.KeyValList[yyvsp[-2].String] = yyvsp[0].String; }      { yyval.KeyValList[yyvsp[-2].String] = yyvsp[0].String;          }
1568      break;      break;
1569    
1570    case 69:    case 69:
1571  #line 170 "lscp.y"  #line 168 "lscp.y"
1572      { yyval.FillResponse = fill_response_bytes;      }      { yyval.KeyValList = yyvsp[-4].KeyValList; yyval.KeyValList[yyvsp[-2].String] = yyvsp[0].String; }
1573      break;      break;
1574    
1575    case 70:    case 70:
1576  #line 171 "lscp.y"  #line 171 "lscp.y"
1577      { yyval.FillResponse = fill_response_percentage; }      { yyval.FillResponse = fill_response_bytes;      }
1578      break;      break;
1579    
1580    case 71:    case 71:
1581  #line 174 "lscp.y"  #line 172 "lscp.y"
1582      { yyval.String = LSCPSERVER->GetAudioOutputDevices(); }      { yyval.FillResponse = fill_response_percentage; }
1583      break;      break;
1584    
1585    case 72:    case 72:
1586  #line 177 "lscp.y"  #line 175 "lscp.y"
1587      { yyval.String = LSCPSERVER->LoadInstrument(yyvsp[-4].String, yyvsp[-2].Number, yyvsp[0].Number); }      { yyval.String = LSCPSERVER->GetAudioOutputDevices(); }
1588      break;      break;
1589    
1590    case 73:    case 73:
1591  #line 178 "lscp.y"  #line 178 "lscp.y"
1592      { yyval.String = LSCPSERVER->LoadInstrument(yyvsp[-4].String, yyvsp[-2].Number, yyvsp[0].Number, true); }      { yyval.String = LSCPSERVER->LoadInstrument(yyvsp[-4].String, yyvsp[-2].Number, yyvsp[0].Number); }
1593      break;      break;
1594    
1595    case 74:    case 74:
1596  #line 181 "lscp.y"  #line 179 "lscp.y"
1597        { yyval.String = LSCPSERVER->LoadInstrument(yyvsp[-4].String, yyvsp[-2].Number, yyvsp[0].Number, true); }
1598        break;
1599    
1600      case 75:
1601    #line 182 "lscp.y"
1602      { yyval.String = LSCPSERVER->LoadEngine(yyvsp[-2].String, yyvsp[0].Number); }      { yyval.String = LSCPSERVER->LoadEngine(yyvsp[-2].String, yyvsp[0].Number); }
1603      break;      break;
1604    
1605    case 77:    case 79:
1606  #line 188 "lscp.y"  #line 192 "lscp.y"
1607      { yyval.Dotnum = yyvsp[0].Number; }      { yyval.Dotnum = yyvsp[0].Number; }
1608      break;      break;
1609    
1610    case 85:    case 88:
1611  #line 212 "lscp.y"  #line 217 "lscp.y"
1612      { yyval.String = yyvsp[0].String;                                             }      { yyval.String = yyvsp[0].String;                                             }
1613      break;      break;
1614    
1615    case 86:    case 89:
1616  #line 213 "lscp.y"  #line 218 "lscp.y"
1617      { std::stringstream ss; ss << yyvsp[0].Number; yyval.String = ss.str();       }      { std::stringstream ss; ss << yyvsp[0].Number; yyval.String = ss.str();       }
1618      break;      break;
1619    
1620    case 87:    case 90:
1621  #line 214 "lscp.y"  #line 219 "lscp.y"
1622      { std::stringstream ss; ss << yyvsp[0].Dotnum; yyval.String = ss.str();       }      { std::stringstream ss; ss << yyvsp[0].Dotnum; yyval.String = ss.str();       }
1623      break;      break;
1624    
1625    case 88:    case 91:
1626  #line 217 "lscp.y"  #line 222 "lscp.y"
1627      { std::string s; s = yyvsp[0].Char; yyval.String = s; }      { std::string s; s = yyvsp[0].Char; yyval.String = s; }
1628      break;      break;
1629    
1630    case 89:    case 92:
1631  #line 218 "lscp.y"  #line 223 "lscp.y"
1632      { yyval.String = yyvsp[-1].String + yyvsp[0].Char;                  }      { yyval.String = yyvsp[-1].String + yyvsp[0].Char;                  }
1633      break;      break;
1634    
# Line 1620  yyreduce: Line 1636  yyreduce:
1636      }      }
1637    
1638  /* Line 999 of yacc.c.  */  /* Line 999 of yacc.c.  */
1639  #line 1623 "y.tab.c"  #line 1639 "y.tab.c"
1640    
1641    yyvsp -= yylen;    yyvsp -= yylen;
1642    yyssp -= yylen;    yyssp -= yylen;

Legend:
Removed from v.141  
changed lines
  Added in v.143

  ViewVC Help
Powered by ViewVC