/[svn]/linuxsampler/trunk/src/scriptvm/editor/nksp.l
ViewVC logotype

Diff of /linuxsampler/trunk/src/scriptvm/editor/nksp.l

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

revision 3308 by schoenebeck, Sat Jul 15 01:14:20 2017 UTC revision 3332 by schoenebeck, Mon Jul 24 18:51:21 2017 UTC
# Line 47  static int countNewLineChars(const char* Line 47  static int countNewLineChars(const char*
47  # define register  # define register
48  #endif  #endif
49    
50  // if compiled for debugging, throw an exception instead of exiting on fatal  // Since this parser is solely used by script code editors, thus not used in a
51    // real-time context, always throw an exception instead of exiting on fatal
52  // lexer errors (so the debugger may pause with the appropriate back trace)  // lexer errors (so the debugger may pause with the appropriate back trace)
53  #if DEBUG  #include <stdexcept>
54  # include <stdexcept>  #define YY_FATAL_ERROR(msg) throw std::runtime_error(msg)
 # define YY_FATAL_ERROR(msg) throw std::runtime_error(msg)  
 #endif  
55    
56  %}  %}
57    

Legend:
Removed from v.3308  
changed lines
  Added in v.3332

  ViewVC Help
Powered by ViewVC