/[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 155 by senkov, Mon Jun 28 04:30:11 2004 UTC revision 160 by capela, Tue Jun 29 21:44:12 2004 UTC
# Line 324  union yyalloc Line 324  union yyalloc
324  /* YYFINAL -- State number of the termination state. */  /* YYFINAL -- State number of the termination state. */
325  #define YYFINAL  30  #define YYFINAL  30
326  /* YYLAST -- Last index in YYTABLE.  */  /* YYLAST -- Last index in YYTABLE.  */
327  #define YYLAST   285  #define YYLAST   293
328    
329  /* YYNTOKENS -- Number of terminals. */  /* YYNTOKENS -- Number of terminals. */
330  #define YYNTOKENS  59  #define YYNTOKENS  59
331  /* YYNNTS -- Number of nonterminals. */  /* YYNNTS -- Number of nonterminals. */
332  #define YYNNTS  31  #define YYNNTS  32
333  /* YYNRULES -- Number of rules. */  /* YYNRULES -- Number of rules. */
334  #define YYNRULES  104  #define YYNRULES  108
335  /* YYNRULES -- Number of states. */  /* YYNRULES -- Number of states. */
336  #define YYNSTATES  290  #define YYNSTATES  307
337    
338  /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX.  */  /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX.  */
339  #define YYUNDEFTOK  2  #define YYUNDEFTOK  2
# Line 390  static const unsigned short yyprhs[] = Line 390  static const unsigned short yyprhs[] =
390        93,    95,    97,    99,   101,   103,   105,   107,   109,   111,        93,    95,    97,    99,   101,   103,   105,   107,   109,   111,
391       113,   119,   127,   137,   139,   145,   153,   163,   165,   167,       113,   119,   127,   137,   139,   145,   153,   163,   165,   167,
392       173,   179,   187,   195,   205,   207,   213,   221,   227,   233,       173,   179,   187,   195,   205,   207,   213,   221,   227,   233,
393       239,   247,   257,   265,   275,   279,   285,   289,   293,   297,       239,   247,   257,   265,   275,   279,   285,   289,   295,   299,
394       301,   305,   309,   315,   323,   329,   339,   345,   351,   355,       303,   307,   311,   315,   321,   329,   335,   345,   351,   357,
395       361,   363,   365,   367,   369,   375,   383,   387,   389,   391,       363,   369,   375,   379,   385,   387,   389,   391,   393,   399,
396       393,   395,   397,   399,   401,   403,   405,   407,   409,   411,       407,   411,   413,   415,   417,   419,   421,   423,   425,   427,
397       413,   415,   417,   419,   421       429,   431,   433,   435,   437,   439,   441,   443,   445
398  };  };
399    
400  /* YYRHS -- A `-1'-separated list of the rules' RHS. */  /* YYRHS -- A `-1'-separated list of the rules' RHS. */
# Line 403  static const yysigned_char yyrhs[] = Line 403  static const yysigned_char yyrhs[] =
403        60,     0,    -1,    61,    -1,    60,     8,    61,    -1,    60,        60,     0,    -1,    61,    -1,    60,     8,    61,    -1,    60,
404         9,     8,    61,    -1,    -1,    62,    -1,    63,    -1,     1,         9,     8,    61,    -1,    -1,    62,    -1,    63,    -1,     1,
405        -1,    10,    -1,    62,    10,    -1,    62,     7,    -1,    62,        -1,    10,    -1,    62,    10,    -1,    62,     7,    -1,    62,
406         5,    -1,    62,    89,    -1,    12,     7,    25,    -1,    13,         5,    -1,    62,    90,    -1,    12,     7,    25,    -1,    13,
407         7,    66,    -1,    14,     7,    68,    -1,    15,     7,    69,         7,    66,    -1,    14,     7,    68,    -1,    15,     7,    69,
408        -1,    16,     7,    74,    -1,    17,     7,    70,    -1,    19,        -1,    16,     7,    74,    -1,    17,     7,    70,    -1,    19,
409         7,    25,     7,    83,    -1,    20,     7,    67,    -1,    21,         7,    25,     7,    85,    -1,    20,     7,    67,    -1,    21,
410         7,    64,    -1,    22,     7,    65,    -1,    23,     7,    25,         7,    64,    -1,    22,     7,    65,    -1,    23,     7,    25,
411         7,    83,    -1,    24,    -1,    29,    -1,    33,    -1,    32,         7,    85,    -1,    24,    -1,    29,    -1,    33,    -1,    32,
412        -1,    31,    -1,    30,    -1,    58,    -1,    29,    -1,    33,        -1,    31,    -1,    30,    -1,    58,    -1,    29,    -1,    33,
413        -1,    32,    -1,    31,    -1,    30,    -1,    58,    -1,    27,        -1,    32,    -1,    31,    -1,    30,    -1,    58,    -1,    27,
414        -1,    51,    -1,    49,     7,    30,     7,    89,    -1,    50,        -1,    51,    -1,    49,     7,    30,     7,    90,    -1,    50,
415         7,    30,     7,    89,     7,    89,    -1,    50,     7,    30,         7,    30,     7,    90,     7,    90,    -1,    50,     7,    30,
416         7,    89,     7,    89,     7,    72,    -1,    28,    -1,    41,         7,    90,     7,    90,     7,    72,    -1,    28,    -1,    41,
417         7,    30,     7,    89,    -1,    42,     7,    30,     7,    89,         7,    30,     7,    90,    -1,    42,     7,    30,     7,    90,
418         7,    89,    -1,    42,     7,    30,     7,    89,     7,    89,         7,    90,    -1,    42,     7,    30,     7,    90,     7,    90,
419         7,    72,    -1,    39,    -1,    53,    -1,    38,     7,    30,         7,    72,    -1,    39,    -1,    53,    -1,    38,     7,    30,
420         7,     5,    -1,    52,     7,    30,     7,     5,    -1,    46,         7,     5,    -1,    52,     7,    30,     7,     5,    -1,    46,
421         7,    30,     7,     5,     7,     5,    -1,    36,     7,    30,         7,    30,     7,     5,     7,     5,    -1,    36,     7,    30,
422         7,     5,     7,     5,    -1,    37,     7,    30,     7,     5,         7,     5,     7,     5,    -1,    37,     7,    30,     7,     5,
423         7,     5,     7,    89,    -1,    29,    -1,    25,     7,    30,         7,     5,     7,    90,    -1,    29,    -1,    25,     7,    30,
424         7,    83,    -1,    25,     7,    31,     7,    73,     7,    83,         7,    85,    -1,    25,     7,    31,     7,    73,     7,    85,
425        -1,    25,     7,    32,     7,    83,    -1,    25,     7,    33,        -1,    25,     7,    32,     7,    85,    -1,    25,     7,    33,
426         7,    83,    -1,    35,     7,    30,     7,    86,    -1,    40,         7,    85,    -1,    35,     7,    30,     7,    87,    -1,    40,
427         7,     5,     7,    89,    11,    88,    -1,    37,     7,     5,         7,     5,     7,    90,    11,    89,    -1,    37,     7,     5,
428         7,     5,     7,    89,    11,    88,    -1,    54,     7,     5,         7,     5,     7,    90,    11,    89,    -1,    54,     7,     5,
429         7,    89,    11,    88,    -1,    55,     7,     5,     7,     5,         7,    90,    11,    89,    -1,    55,     7,     5,     7,     5,
430         7,    89,    11,    88,    -1,    25,     7,    71,    -1,    38,         7,    90,    11,    89,    -1,    25,     7,    71,    -1,    38,
431         7,    89,     7,    72,    -1,    38,     7,    89,    -1,    52,         7,    90,     7,    72,    -1,    38,     7,    90,    -1,    52,
432         7,    89,    -1,    38,     7,     5,    -1,    52,     7,     5,         7,    90,     7,    72,    -1,    52,     7,    90,    -1,    38,
433        -1,    34,     7,    75,    -1,    35,     7,    76,    -1,    38,         7,     5,    -1,    52,     7,     5,    -1,    34,     7,    75,
434         7,    83,     7,     5,    -1,    36,     7,    83,     7,    85,        -1,    35,     7,    76,    -1,    38,     7,    85,     7,    77,
435         7,    85,    -1,    43,     7,    83,     7,    77,    -1,    44,        -1,    36,     7,    85,     7,    78,     7,    78,    -1,    43,
436         7,    83,     7,    78,     7,    79,     7,    80,    -1,    45,         7,    85,     7,    79,    -1,    44,     7,    85,     7,    80,
437         7,    83,     7,    81,    -1,    48,     7,    83,     7,    82,         7,    81,     7,    82,    -1,    52,     7,    85,     7,    80,
438        -1,    89,    11,    88,    -1,    72,     7,    89,    11,    88,        -1,    46,     7,    85,     7,    81,    -1,    47,     7,    85,
439        -1,    56,    -1,    57,    -1,    39,    -1,    53,    -1,    87,         7,    82,    -1,    45,     7,    85,     7,    83,    -1,    48,
440         7,    84,     7,    83,    -1,    18,     7,    87,     7,    84,         7,    85,     7,    84,    -1,    90,    11,    89,    -1,    72,
441         7,    83,    -1,    86,     7,    83,    -1,    89,    -1,     5,         7,    90,    11,    89,    -1,    56,    -1,    57,    -1,    39,
442        -1,     5,    -1,     5,    -1,    89,    -1,     4,    -1,     5,        -1,    53,    -1,    88,     7,    86,     7,    85,    -1,    18,
443        -1,     5,    -1,     5,    -1,     5,    -1,    89,    -1,     6,         7,    88,     7,    86,     7,    85,    -1,    87,     7,    85,
444        -1,    89,    -1,     6,    -1,     5,    -1,     4,    -1,     3,        -1,     5,    -1,     5,    -1,    90,    -1,     5,    -1,     5,
445        -1,    89,     3,    -1        -1,     5,    -1,    90,    -1,     4,    -1,     5,    -1,     5,
446          -1,     5,    -1,    90,    -1,     6,    -1,     6,    -1,     5,
447          -1,     4,    -1,     3,    -1,    90,     3,    -1
448  };  };
449    
450  /* YYRLINE[YYN] -- source line where rule number YYN was defined.  */  /* YYRLINE[YYN] -- source line where rule number YYN was defined.  */
# Line 454  static const unsigned char yyrline[] = Line 456  static const unsigned char yyrline[] =
456       114,   115,   118,   119,   120,   121,   122,   123,   126,   127,       114,   115,   118,   119,   120,   121,   122,   123,   126,   127,
457       128,   129,   130,   131,   132,   133,   134,   135,   136,   137,       128,   129,   130,   131,   132,   133,   134,   135,   136,   137,
458       138,   139,   140,   141,   142,   143,   144,   145,   146,   147,       138,   139,   140,   141,   142,   143,   144,   145,   146,   147,
459       150,   151,   152,   153,   154,   157,   158,   159,   162,   163,       150,   151,   152,   153,   154,   157,   158,   159,   160,   163,
460       166,   167,   170,   171,   172,   173,   174,   175,   178,   179,       164,   167,   168,   171,   172,   173,   174,   175,   176,   177,
461       182,   183,   186,   187,   190,   191,   194,   197,   200,   203,       178,   179,   182,   183,   186,   187,   190,   191,   194,   195,
462       206,   209,   212,   213,   216,   219,   222,   225,   228,   229,       198,   201,   204,   207,   210,   213,   216,   219,   222,   223,
463       232,   233,   234,   237,   238       226,   229,   232,   235,   238,   239,   240,   243,   244
464  };  };
465  #endif  #endif
466    
# Line 487  static const char *const yytname[] = Line 489  static const char *const yytname[] =
489    "create_instruction", "destroy_instruction", "load_instruction",    "create_instruction", "destroy_instruction", "load_instruction",
490    "set_chan_instruction", "key_val_list", "buffer_size_type",    "set_chan_instruction", "key_val_list", "buffer_size_type",
491    "list_instruction", "load_instr_args", "load_engine_args",    "list_instruction", "load_instr_args", "load_engine_args",
492    "audio_output_type", "midi_input_device", "midi_input_port",    "audio_output_device", "audio_output_channel", "audio_output_type",
493    "midi_input_channel", "midi_input_type", "volume", "sampler_channel",    "midi_input_device", "midi_input_port", "midi_input_channel",
494    "instrument_index", "audio_output_channel", "engine_name", "filename",    "midi_input_type", "volume", "sampler_channel", "instrument_index",
495    "param_val", "string", 0    "engine_name", "filename", "param_val", "string", 0
496  };  };
497  #endif  #endif
498    
# Line 517  static const unsigned char yyr1[] = Line 519  static const unsigned char yyr1[] =
519        64,    64,    65,    65,    65,    65,    65,    65,    66,    66,        64,    64,    65,    65,    65,    65,    65,    65,    66,    66,
520        66,    66,    66,    66,    66,    66,    66,    66,    66,    66,        66,    66,    66,    66,    66,    66,    66,    66,    66,    66,
521        66,    66,    66,    66,    66,    66,    66,    66,    66,    66,        66,    66,    66,    66,    66,    66,    66,    66,    66,    66,
522        67,    67,    67,    67,    67,    68,    68,    68,    69,    69,        67,    67,    67,    67,    67,    68,    68,    68,    68,    69,
523        70,    70,    71,    71,    71,    71,    71,    71,    72,    72,        69,    70,    70,    71,    71,    71,    71,    71,    71,    71,
524        73,    73,    74,    74,    75,    75,    76,    77,    78,    79,        71,    71,    72,    72,    73,    73,    74,    74,    75,    75,
525        80,    81,    82,    82,    83,    84,    85,    86,    87,    87,        76,    77,    78,    79,    80,    81,    82,    83,    84,    84,
526        88,    88,    88,    89,    89        85,    86,    87,    88,    89,    89,    89,    90,    90
527  };  };
528    
529  /* 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 533  static const unsigned char yyr2[] = Line 535  static const unsigned char yyr2[] =
535         1,     1,     1,     1,     1,     1,     1,     1,     1,     1,         1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
536         5,     7,     9,     1,     5,     7,     9,     1,     1,     5,         5,     7,     9,     1,     5,     7,     9,     1,     1,     5,
537         5,     7,     7,     9,     1,     5,     7,     5,     5,     5,         5,     7,     7,     9,     1,     5,     7,     5,     5,     5,
538         7,     9,     7,     9,     3,     5,     3,     3,     3,     3,         7,     9,     7,     9,     3,     5,     3,     5,     3,     3,
539         3,     3,     5,     7,     5,     9,     5,     5,     3,     5,         3,     3,     3,     5,     7,     5,     9,     5,     5,     5,
540         1,     1,     1,     1,     5,     7,     3,     1,     1,     1,         5,     5,     3,     5,     1,     1,     1,     1,     5,     7,
541         1,     1,     1,     1,     1,     1,     1,     1,     1,     1,         3,     1,     1,     1,     1,     1,     1,     1,     1,     1,
542         1,     1,     1,     1,     2         1,     1,     1,     1,     1,     1,     1,     1,     2
543  };  };
544    
545  /* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state  /* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state
# Line 548  static const unsigned char yydefact[] = Line 550  static const unsigned char yydefact[] =
550         0,     8,     9,     0,     0,     0,     0,     0,     0,     0,         0,     8,     9,     0,     0,     0,     0,     0,     0,     0,
551         0,     0,     0,     0,    25,     0,     2,     6,     7,     0,         0,     0,     0,     0,    25,     0,     2,     6,     7,     0,
552         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
553         1,     0,     0,   103,    12,    11,    10,    13,    14,     0,         1,     0,     0,   107,    12,    11,    10,    13,    14,     0,
554        38,    43,    54,     0,     0,     0,     0,    47,     0,     0,        38,    43,    54,     0,     0,     0,     0,    47,     0,     0,
555         0,     0,     0,    39,     0,    48,    15,     0,     0,    16,         0,     0,     0,    39,     0,    48,    15,     0,     0,    16,
556         0,     0,    17,    82,    83,    18,     0,     0,    19,     0,         0,     0,    17,    86,    87,    18,     0,     0,    19,     0,
557         0,     0,     0,     0,     0,    21,    26,    30,    29,    28,         0,     0,     0,     0,     0,    21,    26,    30,    29,    28,
558        27,    31,    22,    32,    36,    35,    34,    33,    37,    23,        27,    31,    22,    32,    36,    35,    34,    33,    37,    23,
559         0,     3,     0,   104,     0,     0,     0,     0,     0,     0,         0,     3,     0,   108,     0,     0,     0,     0,     0,     0,
560         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
561         0,     0,     0,     0,     0,     0,     0,     0,     4,     0,         0,     0,     0,     0,     0,     0,     0,     0,     4,     0,
562         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
563         0,     0,     0,    66,    67,    68,    69,    98,     0,    70,         0,     0,     0,    66,    68,    69,    70,   103,     0,    71,
564         0,    99,    71,     0,    97,    94,    20,     0,     0,     0,         0,    72,     0,   102,   100,    20,     0,     0,     0,     0,
565         0,     0,     0,    64,     0,     0,     0,     0,    24,     0,         0,     0,     0,     0,     0,    64,     0,     0,     0,     0,
566          24,     0,     0,     0,     0,     0,     0,     0,     0,     0,
567           0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
568         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
569           0,     0,     0,    55,    84,    85,     0,    57,    58,    59,
570           0,     0,    49,    44,     0,     0,    40,     0,    50,    65,
571           0,    67,     0,   101,     0,    90,     0,     0,     0,     0,
572         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
        0,     0,     0,     0,     0,     0,     0,    55,    80,    81,  
        0,    57,    58,    59,     0,     0,    49,    44,     0,     0,  
       40,     0,    50,    65,     0,     0,    95,     0,    86,     0,  
573         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
574         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
575         0,     0,     0,     0,     0,     0,     0,     0,     0,    56,         0,     0,    56,    52,     0,    45,    51,    41,     0,   106,
576        52,     0,    45,    51,    41,     0,   102,   101,   100,    78,       105,   104,    82,     0,    88,    92,     0,    91,    73,    75,
577         0,    84,    96,     0,    72,    74,    87,    88,     0,    76,        93,    94,     0,    80,    97,    95,    78,    96,    79,    98,
578        91,    92,    93,    77,     0,    60,    62,     0,     0,     0,        99,    81,    77,     0,    60,    62,     0,     0,     0,     0,
579         0,     0,     0,     0,     0,     0,     0,    53,    46,    42,         0,     0,     0,     0,     0,     0,    53,    46,    42,    83,
580        79,    85,    73,    89,     0,    61,    63,     0,    90,    75        89,    74,     0,    61,    63,     0,    76
581  };  };
582    
583  /* YYDEFGOTO[NTERM-NUM]. */  /* YYDEFGOTO[NTERM-NUM]. */
584  static const short yydefgoto[] =  static const short yydefgoto[] =
585  {  {
586        -1,    15,    16,    17,    18,    82,    89,    56,    75,    59,        -1,    15,    16,    17,    18,    82,    89,    56,    75,    59,
587        62,    68,   153,   203,   190,    65,   139,   142,   255,   258,        62,    68,   155,   209,   196,    65,   139,   141,   268,   266,
588       284,   289,   259,   263,   146,   207,   253,   143,   140,   249,       269,   272,   276,   278,   273,   281,   145,   214,   142,   140,
589       204       262,   210
590  };  };
591    
592  /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing  /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
593     STATE-NUM.  */     STATE-NUM.  */
594  #define YYPACT_NINF -235  #define YYPACT_NINF -245
595  static const short yypact[] =  static const short yypact[] =
596  {  {
597       101,  -235,  -235,    10,    40,    62,    78,    83,    92,   112,       168,  -245,  -245,    30,    51,    68,   101,   105,   109,   129,
598       133,   138,   140,   141,  -235,    44,  -235,   134,  -235,   127,       130,   131,   132,   133,  -245,    34,  -245,    52,  -245,    16,
599        45,   -24,   -20,   -14,    71,   130,   -21,   -22,    -9,   135,        82,   -21,    -8,    -1,   -27,    55,   -22,    -9,    -4,    70,
600      -235,   101,   150,  -235,  -235,  -235,  -235,   146,  -235,   152,      -245,   168,    90,  -245,  -245,  -245,  -245,    93,  -245,   134,
601      -235,  -235,  -235,   154,   155,   156,   157,  -235,   158,   159,      -245,  -245,  -245,   135,   136,   137,   138,  -245,   139,   140,
602       162,   163,   164,  -235,   165,  -235,  -235,   166,   167,  -235,       142,   143,   144,  -245,   147,  -245,  -245,   150,   151,  -245,
603       168,   169,  -235,  -235,  -235,  -235,   170,   171,  -235,   172,       152,   153,  -245,  -245,  -245,  -245,   154,   155,  -245,   156,
604       173,   174,   175,   176,   177,  -235,  -235,  -235,  -235,  -235,       157,   158,   159,   160,   163,  -245,  -245,  -245,  -245,  -245,
605      -235,  -235,  -235,  -235,  -235,  -235,  -235,  -235,  -235,  -235,      -245,  -245,  -245,  -245,  -245,  -245,  -245,  -245,  -245,  -245,
606       178,  -235,   101,  -235,    24,   160,   161,   179,   180,   181,       164,  -245,   168,  -245,    73,   149,   165,   166,   167,   169,
607       182,   183,   185,   187,   189,   184,   184,   188,   190,     9,       170,   171,   172,   173,   174,   183,   183,   188,   189,    -2,
608       184,   191,    90,   192,   193,   194,   195,   191,  -235,   196,       183,   193,    38,   200,   201,   202,   203,   193,  -245,   204,
609       197,   199,   213,   215,   216,   217,   218,   219,   220,   221,       205,   206,   207,   209,   212,   213,   214,   215,   216,   218,
610       222,   223,   224,    28,   146,  -235,  -235,  -235,   225,  -235,       220,   221,   222,     6,     7,  -245,  -245,  -245,   223,  -245,
611       226,   146,  -235,   227,   146,  -235,  -235,   228,   229,   230,       225,  -245,   226,    93,  -245,  -245,   228,   229,   230,   231,
612       231,   232,   233,  -235,   234,   235,   236,   237,  -235,   191,       232,   233,   234,   235,   236,  -245,   237,   238,   239,   240,
613        51,   191,   191,   184,   240,   241,   242,   184,   184,   243,      -245,   193,    21,   193,   193,   183,   243,   244,   245,   183,
614       184,   184,   244,   184,    23,   245,   191,   191,   191,   191,       183,   246,   183,   183,   247,   183,   183,   248,   250,   193,
615       191,   191,   191,   247,   184,   184,   248,  -235,  -235,  -235,       193,   193,   193,   193,   193,   193,   193,   193,   193,   251,
616       249,  -235,  -235,  -235,   250,   251,  -235,   146,    68,   252,       183,   183,   252,  -245,  -245,  -245,   253,  -245,  -245,  -245,
617       146,    97,  -235,   253,     2,   254,  -235,   255,  -235,   256,       254,   255,  -245,    93,    32,   256,    93,    33,  -245,   257,
618       257,   258,   259,   260,   261,   262,    27,    37,   263,   191,         8,   257,   258,  -245,   259,  -245,   260,   261,   262,   264,
619       266,   267,   184,   268,   184,   184,    73,   245,   191,   269,       265,   266,   267,   268,   269,   270,    50,    76,   271,   193,
620       270,   184,   271,   184,   125,   184,    73,    73,   184,  -235,       274,   275,   183,   276,   183,   183,   121,   250,   193,   277,
621      -235,   272,   124,  -235,   129,    47,  -235,  -235,  -235,  -235,       278,   183,   279,   183,   280,   281,   125,   279,   183,   121,
622       273,  -235,  -235,   274,  -235,  -235,   146,  -235,   275,  -235,       121,   183,  -245,  -245,   282,    53,  -245,    94,    88,  -245,
623       146,  -235,  -235,  -235,    48,  -235,  -235,    65,   184,   184,      -245,  -245,  -245,   283,  -245,  -245,   284,  -245,  -245,  -245,
624       184,    73,   191,   269,   278,    73,    73,   146,   253,   253,        93,  -245,   285,  -245,    93,  -245,  -245,  -245,  -245,  -245,
625      -235,  -235,  -235,  -235,   277,  -235,  -235,   280,  -235,  -235      -245,  -245,  -245,    89,  -245,  -245,    91,   183,   183,   183,
626         121,   193,   277,   280,   121,   121,    93,   257,   257,  -245,
627        -245,  -245,   286,  -245,  -245,   281,  -245
628  };  };
629    
630  /* YYPGOTO[NTERM-NUM].  */  /* YYPGOTO[NTERM-NUM].  */
631  static const short yypgoto[] =  static const short yypgoto[] =
632  {  {
633      -235,  -235,   -25,  -235,  -235,  -235,  -235,  -235,  -235,  -235,      -245,  -245,   -19,  -245,  -245,  -245,  -245,  -245,  -245,  -245,
634      -235,  -235,  -235,  -127,  -235,  -235,  -235,  -235,  -235,  -235,      -245,  -245,  -245,  -174,  -245,  -245,  -245,  -245,  -245,  -120,
635      -235,  -235,  -235,  -235,  -116,   -41,   -85,    26,    18,  -234,      -245,   -38,   -83,   -52,  -245,  -245,  -116,    22,   122,    81,
636       -17      -244,   -17
637  };  };
638    
639  /* 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 637  static const short yypgoto[] = Line 643  static const short yypgoto[] =
643  #define YYTABLE_NINF -6  #define YYTABLE_NINF -6
644  static const short yytable[] =  static const short yytable[] =
645  {  {
646        37,   158,   265,   266,    70,    93,    91,    76,    77,    78,        37,   160,   211,    70,   137,   284,   285,    66,    67,    93,
647        79,    80,    33,   226,    57,   137,    71,    19,    60,    72,        93,    93,    91,   175,   176,    71,   138,    57,    72,   236,
648        83,    84,    85,    86,    87,    63,    33,   138,    58,   137,        76,    77,    78,    79,    80,    83,    84,    85,    86,    87,
649        93,    93,    61,    73,    74,   173,    81,   280,   236,    64,        60,    58,    73,    74,    30,    93,    93,    19,    63,   232,
650        93,   285,   286,   187,    30,   191,   192,    20,   237,    88,       234,    38,    31,    32,    61,   193,   299,   197,   198,    81,
651        93,    93,    31,    32,   119,   120,   121,   122,   271,   275,       303,   304,    64,    93,    88,    33,    93,    34,    20,    35,
652       208,   209,   210,   211,   212,   213,   214,   118,    93,    21,       288,   249,    36,   215,   216,   217,   218,   219,   220,   221,
653        39,    93,    40,    41,    42,   222,   276,   246,   247,   248,       222,   223,   224,   118,   146,    21,   147,   194,   195,    93,
654        43,    44,    45,    46,    47,    22,    48,    49,   133,   134,        69,   148,   149,   150,   151,   152,   153,   250,   133,   134,
655        23,    50,   141,   144,    51,    52,    53,    54,    55,    24,       154,    93,    93,   143,    93,    90,    93,    93,    92,   290,
656        93,    -5,     1,   239,   224,    66,    67,   188,   189,    -5,       294,   289,   295,   119,   120,   121,   122,    39,    22,    40,
657        -5,     2,   251,     3,     4,     5,     6,     7,     8,    25,        41,    42,    23,   252,   297,   298,    24,    43,    44,    45,
658         9,    10,    11,    12,    13,    14,   147,    93,   148,   261,        46,    47,   264,    48,    49,   259,   260,   261,    50,   279,
659       262,   269,    93,   149,   150,   151,   270,    33,   152,    34,       280,    51,    52,    53,    54,    55,    25,    26,    27,    28,
660        26,    35,   278,   279,    36,    27,   144,    28,    29,    93,        29,    94,    95,    96,    97,    98,    99,   100,   143,   101,
661       197,   198,    38,   200,   201,    69,   281,   141,    92,    94,       102,   103,   203,   204,   104,   206,   207,   105,   106,   107,
662        90,    95,    96,    97,    98,    99,   100,   216,   217,   101,       108,   109,   110,   111,   112,   113,   114,   115,    -5,     1,
663       102,   103,   104,   105,   106,   107,   108,   109,   110,   111,       116,   117,   301,   226,   227,   300,    -5,    -5,     2,   123,
664       112,   113,   114,   115,   116,   117,   250,    33,   282,   193,         3,     4,     5,     6,     7,     8,    33,     9,    10,    11,
665       123,   124,   205,   135,     0,   136,   145,   154,   155,   156,        12,    13,    14,   135,   136,   124,   125,   126,   144,   127,
666       157,     0,     0,   159,   160,   242,   161,   244,   245,   125,       128,   129,   130,   131,   132,   156,   157,   158,   159,   282,
667       126,   127,   128,   129,   256,   130,   260,   131,   264,   132,       302,   161,   162,   163,   164,   255,   165,   257,   258,   166,
668       162,   267,   163,   164,   165,   166,   167,   168,   169,   170,       167,   168,   169,   170,   270,   171,   274,   172,   173,   174,
669       171,   172,   174,   175,   176,   177,   178,   179,   180,   181,       177,   283,   178,   179,   286,   180,   181,   182,   183,   184,
670       182,   183,   184,   185,   186,   194,   195,   196,   199,   202,       185,   186,   187,   188,   189,   190,   191,   192,   200,   201,
671       206,   277,   215,   218,     0,     0,   219,   220,   221,   223,       202,   205,   208,   306,   137,   213,   225,   228,   212,   263,
672       225,   227,   228,   229,   230,   231,   232,   233,   234,   235,       229,   230,   231,   233,   235,   237,   238,   239,   240,   241,
673       238,   240,   241,   243,   252,   254,   257,     0,     0,   268,       296,   242,   243,   244,   245,   246,   247,   248,   251,   253,
674       272,   273,   274,   283,   287,   288       254,   256,   265,   267,   271,   275,   277,   199,     0,   287,
675         291,   292,   293,   305
676  };  };
677    
678  static const short yycheck[] =  static const short yycheck[] =
679  {  {
680        17,   117,   236,   237,    25,     3,    31,    29,    30,    31,        17,   117,   176,    25,     6,   249,   250,    34,    35,     3,
681        32,    33,     3,    11,    38,     6,    37,     7,    38,    40,         3,     3,    31,     7,     7,    37,    18,    38,    40,    11,
682        29,    30,    31,    32,    33,    39,     3,    18,    52,     6,        29,    30,    31,    32,    33,    29,    30,    31,    32,    33,
683         3,     3,    52,    54,    55,     7,    58,   271,    11,    53,        38,    52,    54,    55,     0,     3,     3,     7,    39,     7,
684         3,   275,   276,   159,     0,   161,   162,     7,    11,    58,         7,    25,     8,     9,    52,   161,   290,   163,   164,    58,
685         3,     3,     8,     9,    30,    31,    32,    33,    11,    11,       294,   295,    53,     3,    58,     3,     3,     5,     7,     7,
686       176,   177,   178,   179,   180,   181,   182,    92,     3,     7,         7,    11,    10,   179,   180,   181,   182,   183,   184,   185,
687        25,     3,    27,    28,    29,     7,    11,     4,     5,     6,       186,   187,   188,    92,    36,     7,    38,    56,    57,     3,
688        35,    36,    37,    38,    39,     7,    41,    42,   105,   106,        25,    43,    44,    45,    46,    47,    48,    11,   105,   106,
689         7,    46,   109,   110,    49,    50,    51,    52,    53,     7,        52,     3,     3,   110,     3,    25,     3,     3,     8,    11,
690         3,     0,     1,   219,     7,    34,    35,    56,    57,     8,        11,     7,    11,    30,    31,    32,    33,    25,     7,    27,
691         9,    10,   228,    12,    13,    14,    15,    16,    17,     7,        28,    29,     7,   229,   288,   289,     7,    35,    36,    37,
692        19,    20,    21,    22,    23,    24,    36,     3,    38,     4,        38,    39,   238,    41,    42,     4,     5,     6,    46,     4,
693         5,     7,     3,    43,    44,    45,     7,     3,    48,     5,         5,    49,    50,    51,    52,    53,     7,     7,     7,     7,
694         7,     7,   269,   270,    10,     7,   163,     7,     7,     3,         7,     7,     7,     7,     7,     7,     7,     7,   165,     7,
695       167,   168,    25,   170,   171,    25,   272,   174,     8,     7,         7,     7,   169,   170,     7,   172,   173,     7,     7,     7,
696        25,     7,     7,     7,     7,     7,     7,   184,   185,     7,         7,     7,     7,     7,     7,     7,     7,     7,     0,     1,
697         7,     7,     7,     7,     7,     7,     7,     7,     7,     7,         7,     7,   292,   190,   191,   291,     8,     9,    10,    30,
698         7,     7,     7,     7,     7,     7,   227,     3,   273,   163,        12,    13,    14,    15,    16,    17,     3,    19,    20,    21,
699        30,    30,   174,     5,    -1,     5,     5,     5,     5,     5,        22,    23,    24,     5,     5,    30,    30,    30,     5,    30,
700         5,    -1,    -1,     7,     7,   222,     7,   224,   225,    30,        30,    30,    30,    30,    30,     5,     5,     5,     5,   247,
701        30,    30,    30,    30,   231,    30,   233,    30,   235,    30,       293,     7,     7,     7,     7,   232,     7,   234,   235,     7,
702         7,   238,     7,     7,     7,     7,     7,     7,     7,     7,         7,     7,     7,     7,   241,     7,   243,     7,     7,     7,
703           7,   248,     7,     7,   251,     7,     7,     7,     7,     7,
704           7,     7,     7,     7,     7,     7,     7,     7,     5,     5,
705           5,     5,     5,   305,     6,     5,     5,     5,   177,   237,
706         7,     7,     7,     7,     7,     7,     7,     7,     7,     7,         7,     7,     7,     7,     7,     7,     7,     7,     7,     7,
707         7,     7,     7,     7,     7,     5,     5,     5,     5,     5,       287,     7,     7,     7,     7,     7,     7,     7,     7,     5,
708         5,   268,     5,     5,    -1,    -1,     7,     7,     7,     7,         5,     5,     5,     5,     5,     5,     5,   165,    -1,     7,
709         7,     7,     7,     7,     7,     7,     7,     7,     7,     7,         7,     7,     7,     7
        7,     5,     5,     5,     5,     5,     5,    -1,    -1,     7,  
        7,     7,     7,     5,     7,     5  
710  };  };
711    
712  /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing  /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
# Line 708  static const unsigned char yystos[] = Line 716  static const unsigned char yystos[] =
716         0,     1,    10,    12,    13,    14,    15,    16,    17,    19,         0,     1,    10,    12,    13,    14,    15,    16,    17,    19,
717        20,    21,    22,    23,    24,    60,    61,    62,    63,     7,        20,    21,    22,    23,    24,    60,    61,    62,    63,     7,
718         7,     7,     7,     7,     7,     7,     7,     7,     7,     7,         7,     7,     7,     7,     7,     7,     7,     7,     7,     7,
719         0,     8,     9,     3,     5,     7,    10,    89,    25,    25,         0,     8,     9,     3,     5,     7,    10,    90,    25,    25,
720        27,    28,    29,    35,    36,    37,    38,    39,    41,    42,        27,    28,    29,    35,    36,    37,    38,    39,    41,    42,
721        46,    49,    50,    51,    52,    53,    66,    38,    52,    68,        46,    49,    50,    51,    52,    53,    66,    38,    52,    68,
722        38,    52,    69,    39,    53,    74,    34,    35,    70,    25,        38,    52,    69,    39,    53,    74,    34,    35,    70,    25,
# Line 718  static const unsigned char yystos[] = Line 726  static const unsigned char yystos[] =
726         7,     7,     7,     7,     7,     7,     7,     7,     7,     7,         7,     7,     7,     7,     7,     7,     7,     7,     7,     7,
727         7,     7,     7,     7,     7,     7,     7,     7,    61,    30,         7,     7,     7,     7,     7,     7,     7,     7,    61,    30,
728        31,    32,    33,    30,    30,    30,    30,    30,    30,    30,        31,    32,    33,    30,    30,    30,    30,    30,    30,    30,
729        30,    30,    30,    89,    89,     5,     5,     6,    18,    75,        30,    30,    30,    90,    90,     5,     5,     6,    18,    75,
730        87,    89,    76,    86,    89,     5,    83,    36,    38,    43,        88,    76,    87,    90,     5,    85,    36,    38,    43,    44,
731        44,    45,    48,    71,     5,     5,     5,     5,    83,     7,        45,    46,    47,    48,    52,    71,     5,     5,     5,     5,
732          85,     7,     7,     7,     7,     7,     7,     7,     7,     7,
733         7,     7,     7,     7,     7,     7,     7,     7,     7,     7,         7,     7,     7,     7,     7,     7,     7,     7,     7,     7,
734         7,     7,     7,     7,     7,     7,     7,     7,     7,     7,         7,     7,     7,     7,     7,     7,     7,     7,     7,     7,
735         7,     7,     7,     7,     7,     7,     7,    83,    56,    57,         7,     7,     7,    85,    56,    57,    73,    85,    85,    87,
736        73,    83,    83,    86,     5,     5,     5,    89,    89,     5,         5,     5,     5,    90,    90,     5,    90,    90,     5,    72,
737        89,    89,     5,    72,    89,    87,     5,    84,    83,    83,        90,    72,    88,     5,    86,    85,    85,    85,    85,    85,
738        83,    83,    83,    83,    83,     5,    89,    89,     5,     7,        85,    85,    85,    85,    85,     5,    90,    90,     5,     7,
739         7,     7,     7,     7,     7,     7,    11,     7,     7,     7,         7,     7,     7,     7,     7,     7,    11,     7,     7,     7,
740         7,     7,     7,     7,     7,     7,    11,    11,     7,    83,         7,     7,     7,     7,     7,     7,     7,     7,     7,    11,
741         5,     5,    89,     5,    89,    89,     4,     5,     6,    88,        11,     7,    85,     5,     5,    90,     5,    90,    90,     4,
742        84,    83,     5,    85,     5,    77,    89,     5,    78,    81,         5,     6,    89,    86,    85,     5,    78,     5,    77,    79,
743        89,     4,     5,    82,    89,    88,    88,    89,     7,     7,        90,     5,    80,    83,    90,     5,    81,     5,    82,     4,
744         7,    11,     7,     7,     7,    11,    11,    89,    72,    72,         5,    84,    80,    90,    89,    89,    90,     7,     7,     7,
745        88,    83,    85,     5,    79,    88,    88,     7,     5,    80        11,     7,     7,     7,    11,    11,    90,    72,    72,    89,
746          85,    78,    81,    89,    89,     7,    82
747  };  };
748    
749  #if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__)  #if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__)
# Line 761  static const unsigned char yystos[] = Line 771  static const unsigned char yystos[] =
771  #define YYABORT         goto yyabortlab  #define YYABORT         goto yyabortlab
772  #define YYERROR         goto yyerrlab1  #define YYERROR         goto yyerrlab1
773    
   
774  /* Like YYERROR except do call yyerror.  This remains here temporarily  /* Like YYERROR except do call yyerror.  This remains here temporarily
775     to ease the transition to the new meaning of YYERROR, for GCC.     to ease the transition to the new meaning of YYERROR, for GCC.
776     Once GCC version 2 has supplanted version 1, this can go.  */     Once GCC version 2 has supplanted version 1, this can go.  */
# Line 1615  yyreduce: Line 1624  yyreduce:
1624    
1625    case 66:    case 66:
1626  #line 158 "lscp.y"  #line 158 "lscp.y"
1627      { yyval.String = LSCPSERVER->CreateAudioOutputDevice(yyvsp[0].String); }      { yyval.String = LSCPSERVER->CreateAudioOutputDevice(yyvsp[0].String);    }
1628      break;      break;
1629    
1630    case 67:    case 67:
1631  #line 159 "lscp.y"  #line 159 "lscp.y"
1632      { yyval.String = LSCPSERVER->CreateMidiInputDevice(yyvsp[0].String); }      { yyval.String = LSCPSERVER->CreateMidiInputDevice(yyvsp[-2].String,yyvsp[0].KeyValList);   }
1633      break;      break;
1634    
1635    case 68:    case 68:
1636  #line 162 "lscp.y"  #line 160 "lscp.y"
1637      { yyval.String = LSCPSERVER->DestroyAudioOutputDevice(yyvsp[0].Number); }      { yyval.String = LSCPSERVER->CreateMidiInputDevice(yyvsp[0].String);      }
1638      break;      break;
1639    
1640    case 69:    case 69:
1641  #line 163 "lscp.y"  #line 163 "lscp.y"
1642      { yyval.String = LSCPSERVER->DestroyMidiInputDevice(yyvsp[0].Number); }      { yyval.String = LSCPSERVER->DestroyAudioOutputDevice(yyvsp[0].Number); }
1643      break;      break;
1644    
1645    case 70:    case 70:
1646  #line 166 "lscp.y"  #line 164 "lscp.y"
1647      { yyval.String = yyvsp[0].String; }      { yyval.String = LSCPSERVER->DestroyMidiInputDevice(yyvsp[0].Number); }
1648      break;      break;
1649    
1650    case 71:    case 71:
# Line 1644  yyreduce: Line 1653  yyreduce:
1653      break;      break;
1654    
1655    case 72:    case 72:
1656  #line 170 "lscp.y"  #line 168 "lscp.y"
1657      { yyval.String = LSCPSERVER->SetAudioOutputDevice(yyvsp[0].Number, yyvsp[-2].Number);      }      { yyval.String = yyvsp[0].String; }
1658      break;      break;
1659    
1660    case 73:    case 73:
1661  #line 171 "lscp.y"  #line 171 "lscp.y"
1662      { yyval.String = LSCPSERVER->SetAudioOutputChannel(yyvsp[-2].Number, yyvsp[0].Number, yyvsp[-4].Number); }      { yyval.String = LSCPSERVER->SetAudioOutputDevice(yyvsp[0].Number, yyvsp[-2].Number);      }
1663      break;      break;
1664    
1665    case 74:    case 74:
1666  #line 172 "lscp.y"  #line 172 "lscp.y"
1667      { yyval.String = LSCPSERVER->SetAudioOutputType(yyvsp[0].String, yyvsp[-2].Number);        }      { yyval.String = LSCPSERVER->SetAudioOutputChannel(yyvsp[-2].Number, yyvsp[0].Number, yyvsp[-4].Number); }
1668      break;      break;
1669    
1670    case 75:    case 75:
1671  #line 173 "lscp.y"  #line 173 "lscp.y"
1672      { yyval.String = LSCPSERVER->SetMIDIInput(yyvsp[-4].Number, yyvsp[-2].Number, yyvsp[0].Number, yyvsp[-6].Number);          }      { yyval.String = LSCPSERVER->SetAudioOutputType(yyvsp[0].String, yyvsp[-2].Number);        }
1673      break;      break;
1674    
1675    case 76:    case 76:
1676  #line 174 "lscp.y"  #line 174 "lscp.y"
1677      { yyval.String = LSCPSERVER->SetMIDIInputType(yyvsp[0].String, yyvsp[-2].Number);          }      { yyval.String = LSCPSERVER->SetMIDIInput(yyvsp[-4].Number, yyvsp[-2].Number, yyvsp[0].Number, yyvsp[-6].Number);  }
1678      break;      break;
1679    
1680    case 77:    case 77:
1681  #line 175 "lscp.y"  #line 175 "lscp.y"
1682      { yyval.String = LSCPSERVER->SetVolume(yyvsp[0].Dotnum, yyvsp[-2].Number);                 }      { yyval.String = LSCPSERVER->SetMIDIInputDevice(yyvsp[0].Number, yyvsp[-2].Number);        }
1683      break;      break;
1684    
1685    case 78:    case 78:
1686  #line 178 "lscp.y"  #line 176 "lscp.y"
1687      { yyval.KeyValList[yyvsp[-2].String] = yyvsp[0].String;          }      { yyval.String = LSCPSERVER->SetMIDIInputPort(yyvsp[0].Number, yyvsp[-2].Number);          }
1688      break;      break;
1689    
1690    case 79:    case 79:
1691  #line 179 "lscp.y"  #line 177 "lscp.y"
1692      { yyval.KeyValList = yyvsp[-4].KeyValList; yyval.KeyValList[yyvsp[-2].String] = yyvsp[0].String; }      { yyval.String = LSCPSERVER->SetMIDIInputChannel(yyvsp[0].Number, yyvsp[-2].Number);       }
1693      break;      break;
1694    
1695    case 80:    case 80:
1696  #line 182 "lscp.y"  #line 178 "lscp.y"
1697      { yyval.FillResponse = fill_response_bytes;      }      { yyval.String = LSCPSERVER->SetMIDIInputType(yyvsp[0].String, yyvsp[-2].Number);          }
1698      break;      break;
1699    
1700    case 81:    case 81:
1701  #line 183 "lscp.y"  #line 179 "lscp.y"
1702      { yyval.FillResponse = fill_response_percentage; }      { yyval.String = LSCPSERVER->SetVolume(yyvsp[0].Dotnum, yyvsp[-2].Number);                 }
1703      break;      break;
1704    
1705    case 82:    case 82:
1706  #line 186 "lscp.y"  #line 182 "lscp.y"
1707      { yyval.String = LSCPSERVER->GetAudioOutputDevices(); }      { yyval.KeyValList[yyvsp[-2].String] = yyvsp[0].String;          }
1708      break;      break;
1709    
1710    case 83:    case 83:
1711  #line 187 "lscp.y"  #line 183 "lscp.y"
1712      { yyval.String = LSCPSERVER->GetMidiInputDevices(); }      { yyval.KeyValList = yyvsp[-4].KeyValList; yyval.KeyValList[yyvsp[-2].String] = yyvsp[0].String; }
1713      break;      break;
1714    
1715    case 84:    case 84:
1716  #line 190 "lscp.y"  #line 186 "lscp.y"
1717      { yyval.String = LSCPSERVER->LoadInstrument(yyvsp[-4].String, yyvsp[-2].Number, yyvsp[0].Number); }      { yyval.FillResponse = fill_response_bytes;      }
1718      break;      break;
1719    
1720    case 85:    case 85:
1721  #line 191 "lscp.y"  #line 187 "lscp.y"
1722      { yyval.String = LSCPSERVER->LoadInstrument(yyvsp[-4].String, yyvsp[-2].Number, yyvsp[0].Number, true); }      { yyval.FillResponse = fill_response_percentage; }
1723      break;      break;
1724    
1725    case 86:    case 86:
1726    #line 190 "lscp.y"
1727        { yyval.String = LSCPSERVER->GetAudioOutputDevices(); }
1728        break;
1729    
1730      case 87:
1731    #line 191 "lscp.y"
1732        { yyval.String = LSCPSERVER->GetMidiInputDevices(); }
1733        break;
1734    
1735      case 88:
1736  #line 194 "lscp.y"  #line 194 "lscp.y"
1737        { yyval.String = LSCPSERVER->LoadInstrument(yyvsp[-4].String, yyvsp[-2].Number, yyvsp[0].Number); }
1738        break;
1739    
1740      case 89:
1741    #line 195 "lscp.y"
1742        { yyval.String = LSCPSERVER->LoadInstrument(yyvsp[-4].String, yyvsp[-2].Number, yyvsp[0].Number, true); }
1743        break;
1744    
1745      case 90:
1746    #line 198 "lscp.y"
1747      { yyval.String = LSCPSERVER->LoadEngine(yyvsp[-2].String, yyvsp[0].Number); }      { yyval.String = LSCPSERVER->LoadEngine(yyvsp[-2].String, yyvsp[0].Number); }
1748      break;      break;
1749    
1750    case 93:    case 99:
1751  #line 213 "lscp.y"  #line 223 "lscp.y"
1752      { yyval.Dotnum = yyvsp[0].Number; }      { yyval.Dotnum = yyvsp[0].Number; }
1753      break;      break;
1754    
1755    case 100:    case 104:
1756  #line 232 "lscp.y"  #line 238 "lscp.y"
1757      { yyval.String = yyvsp[0].String;                                             }      { yyval.String = yyvsp[0].String;                                             }
1758      break;      break;
1759    
1760    case 101:    case 105:
1761  #line 233 "lscp.y"  #line 239 "lscp.y"
1762      { std::stringstream ss; ss << yyvsp[0].Number; yyval.String = ss.str();       }      { std::stringstream ss; ss << yyvsp[0].Number; yyval.String = ss.str();       }
1763      break;      break;
1764    
1765    case 102:    case 106:
1766  #line 234 "lscp.y"  #line 240 "lscp.y"
1767      { std::stringstream ss; ss << yyvsp[0].Dotnum; yyval.String = ss.str();       }      { std::stringstream ss; ss << yyvsp[0].Dotnum; yyval.String = ss.str();       }
1768      break;      break;
1769    
1770    case 103:    case 107:
1771  #line 237 "lscp.y"  #line 243 "lscp.y"
1772      { std::string s; s = yyvsp[0].Char; yyval.String = s; }      { std::string s; s = yyvsp[0].Char; yyval.String = s; }
1773      break;      break;
1774    
1775    case 104:    case 108:
1776  #line 238 "lscp.y"  #line 244 "lscp.y"
1777      { yyval.String = yyvsp[-1].String + yyvsp[0].Char;                  }      { yyval.String = yyvsp[-1].String + yyvsp[0].Char;                  }
1778      break;      break;
1779    
1780    
1781      }      }
1782    
1783  /* Line 999 of yacc.c.  */  /* Line 991 of yacc.c.  */
1784  #line 1755 "y.tab.c"  #line 1784 "y.tab.c"
1785    
1786    yyvsp -= yylen;    yyvsp -= yylen;
1787    yyssp -= yylen;    yyssp -= yylen;
# Line 1866  yyerrlab: Line 1895  yyerrlab:
1895    
1896    /* Else will try to reuse lookahead token after shifting the error    /* Else will try to reuse lookahead token after shifting the error
1897       token.  */       token.  */
1898    goto yyerrlab1;    goto yyerrlab2;
1899    
1900    
1901  /*----------------------------------------------------.  /*----------------------------------------------------.
1902  | yyerrlab1 -- error raised explicitly by an action.  |  | yyerrlab1 -- error raised explicitly by an action.  |
1903  `----------------------------------------------------*/  `----------------------------------------------------*/
1904  yyerrlab1:  yyerrlab1:
1905    
1906      /* Suppress GCC warning that yyerrlab1 is unused when no action
1907         invokes YYERROR.  */
1908    #if defined (__GNUC_MINOR__) && 2093 <= (__GNUC__ * 1000 + __GNUC_MINOR__) \
1909        && !defined __cplusplus
1910      __attribute__ ((__unused__))
1911    #endif
1912    
1913    
1914      goto yyerrlab2;
1915    
1916    
1917    /*---------------------------------------------------------------.
1918    | yyerrlab2 -- pop states until the error token can be shifted.  |
1919    `---------------------------------------------------------------*/
1920    yyerrlab2:
1921    yyerrstatus = 3;      /* Each real token shifted decrements this.  */    yyerrstatus = 3;      /* Each real token shifted decrements this.  */
1922    
1923    for (;;)    for (;;)
# Line 1946  yyreturn: Line 1991  yyreturn:
1991  }  }
1992    
1993    
1994  #line 78 "lscp.y"  #line 247 "lscp.y"
1995    
1996    
1997  /**  /**

Legend:
Removed from v.155  
changed lines
  Added in v.160

  ViewVC Help
Powered by ViewVC