/[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 2515 by schoenebeck, Wed Feb 5 20:45:18 2014 UTC revision 2516 by schoenebeck, Thu Feb 6 21:11:23 2014 UTC
# Line 88  struct _YYSTYPE { Line 88  struct _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  #define YYTYPE_INT16 int16_t
91    #define YYDEBUG 1
92    
93  /**  /**
94   * Parameters given to the parser on every yyparse() call.   * Parameters given to the parser on every yyparse() call.
# Line 97  struct yyparse_param_t { Line 98  struct yyparse_param_t {
98      int         hSession;      int         hSession;
99      bool        bVerbose; ///< if true then all commands will immediately sent back (echo)      bool        bVerbose; ///< if true then all commands will immediately sent back (echo)
100      bool        bShellInteract; ///< if true: then client is the LSCP shell      bool        bShellInteract; ///< if true: then client is the LSCP shell
101        bool        bShellAutoCorrect; ///< if true: try to automatically correct obvious syntax mistakes
102      int         iLine;    ///< Current line (just for verbosity / messages)      int         iLine;    ///< Current line (just for verbosity / messages)
103      int         iColumn;  ///< Current column (just for verbosity / messages)      int         iColumn;  ///< Current column (just for verbosity / messages)
104      YYTYPE_INT16** ppStackBottom; ///< Bottom end of the Bison parser's state stack.      YYTYPE_INT16** ppStackBottom; ///< Bottom end of the Bison parser's state stack.
# Line 106  struct yyparse_param_t { Line 108  struct yyparse_param_t {
108          pServer  = NULL;          pServer  = NULL;
109          hSession = -1;          hSession = -1;
110          bVerbose = false;          bVerbose = false;
111          bShellInteract = false;          bShellInteract = bShellAutoCorrect = false;
112          iLine = iColumn = 0;          iLine = iColumn = 0;
113          ppStackBottom = ppStackTop = NULL;          ppStackBottom = ppStackTop = NULL;
114      }      }

Legend:
Removed from v.2515  
changed lines
  Added in v.2516

  ViewVC Help
Powered by ViewVC