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

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

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

revision 2509 by persson, Sat Sep 6 16:44:42 2008 UTC revision 2510 by schoenebeck, Thu Jan 23 04:00:26 2014 UTC
# Line 3  Line 3 
3   *   LinuxSampler - modular, streaming capable sampler                     *   *   LinuxSampler - modular, streaming capable sampler                     *
4   *                                                                         *   *                                                                         *
5   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *
6   *   Copyright (C) 2005 - 2008 Christian Schoenebeck                       *   *   Copyright (C) 2005 - 2014 Christian Schoenebeck                       *
7   *                                                                         *   *                                                                         *
8   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
9   *   it under the terms of the GNU General Public License as published by  *   *   it under the terms of the GNU General Public License as published by  *
# Line 35  Line 35 
35  #include <iostream>  #include <iostream>
36  #include <sstream>  #include <sstream>
37  #include <string>  #include <string>
38    #include <stdint.h>
39    #include <set>
40    
41  #include "../common/global_private.h"  #include "../common/global_private.h"
42  #include "../common/Path.h"  #include "../common/Path.h"
# Line 85  struct _YYSTYPE { Line 87  struct _YYSTYPE {
87  #define YYSTYPE _YYSTYPE  #define YYSTYPE _YYSTYPE
88  #define yystype YYSTYPE         ///< For backward compatibility.  #define yystype YYSTYPE         ///< For backward compatibility.
89  #define YYSTYPE_IS_DECLARED     ///< We tell the lexer / parser that we use our own data structure as defined above.  #define YYSTYPE_IS_DECLARED     ///< We tell the lexer / parser that we use our own data structure as defined above.
90    #define YYTYPE_INT16 int16_t
91    
92  /**  /**
93   * Parameters given to the parser on every yyparse() call.   * Parameters given to the parser on every yyparse() call.
# Line 95  struct yyparse_param_t { Line 98  struct yyparse_param_t {
98      bool        bVerbose; ///< if true then all commands will immediately sent back (echo)      bool        bVerbose; ///< if true then all commands will immediately sent back (echo)
99      int         iLine;    ///< Current line (just for verbosity / messages)      int         iLine;    ///< Current line (just for verbosity / messages)
100      int         iColumn;  ///< Current column (just for verbosity / messages)      int         iColumn;  ///< Current column (just for verbosity / messages)
101        YYTYPE_INT16** ppStackBottom; ///< Bottom end of the Bison parser's state stack.
102        YYTYPE_INT16** ppStackTop;    ///< Current position (heap) of the Bison parser's state stack.
103    
104      yyparse_param_t() {      yyparse_param_t() {
105          pServer  = NULL;          pServer  = NULL;
106          hSession = -1;          hSession = -1;
107          bVerbose = false;          bVerbose = false;
108          iLine = iColumn = 0;          iLine = iColumn = 0;
109            ppStackBottom = ppStackTop = NULL;
110      }      }
111  };  };
112  #define YYPARSE_PARAM yyparse_param  #define YYPARSE_PARAM yyparse_param

Legend:
Removed from v.2509  
changed lines
  Added in v.2510

  ViewVC Help
Powered by ViewVC