/[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 2516 by schoenebeck, Thu Feb 6 21:11:23 2014 UTC revision 2531 by schoenebeck, Wed Mar 5 00:02:21 2014 UTC
# Line 100  struct yyparse_param_t { Line 100  struct yyparse_param_t {
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      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;  ///< End of current line (just for verbosity / messages)
104        int         iCursorOffset;  ///< Column of cursor position in current line (reflected as offset to iColumn, range -n .. 0)
105      YYTYPE_INT16** ppStackBottom; ///< Bottom end of the Bison parser's state stack.      YYTYPE_INT16** ppStackBottom; ///< Bottom end of the Bison parser's state stack.
106      YYTYPE_INT16** ppStackTop;    ///< Current position (heap) of the Bison parser's state stack.      YYTYPE_INT16** ppStackTop;    ///< Current position (heap) of the Bison parser's state stack.
107    
# Line 109  struct yyparse_param_t { Line 110  struct yyparse_param_t {
110          hSession = -1;          hSession = -1;
111          bVerbose = false;          bVerbose = false;
112          bShellInteract = bShellAutoCorrect = false;          bShellInteract = bShellAutoCorrect = false;
113          iLine = iColumn = 0;          iCursorOffset = iLine = iColumn = 0;
114          ppStackBottom = ppStackTop = NULL;          ppStackBottom = ppStackTop = NULL;
115      }      }
116    
117        void onNextLine() {
118            iLine++;
119            iColumn = 0;
120            iCursorOffset = 0;
121        }
122  };  };
123  #define YYPARSE_PARAM yyparse_param  #define YYPARSE_PARAM yyparse_param
124    

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

  ViewVC Help
Powered by ViewVC