/[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 2951 by schoenebeck, Fri Jul 15 20:07:47 2016 UTC revision 3260 by schoenebeck, Wed May 31 21:07:44 2017 UTC
# Line 1  Line 1 
1  /*  /*
2   * Copyright (c) 2015-2016 Christian Schoenebeck   * Copyright (c) 2015-2017 Christian Schoenebeck
3   *   *
4   * http://www.linuxsampler.org   * http://www.linuxsampler.org
5   *   *
# Line 42  static int countNewLineChars(const char* Line 42  static int countNewLineChars(const char*
42      return n;      return n;
43  }  }
44    
45    // shut up warning that 'register' keyword is deprecated as of C++11
46    #if defined(__cplusplus) && __cplusplus >= 201103L
47    # define register
48    #endif
49    
50  %}  %}
51    
52  /* generate a reentrant safe scanner */  /* generate a reentrant safe scanner */
# Line 225  end { Line 230  end {
230      return yyextra->token.baseType;      return yyextra->token.baseType;
231  }  }
232    
233  declare|while|if|or|and|not|else|case|select|to|mod|const|polyphonic|function|call {  declare|while|if|or|and|not|else|case|select|to|mod|const|polyphonic|function|call|synchronized {
234      yyextra->token = KeywordToken(yytext);      yyextra->token = KeywordToken(yytext);
235      return yyextra->token.baseType;      return yyextra->token.baseType;
236  }  }

Legend:
Removed from v.2951  
changed lines
  Added in v.3260

  ViewVC Help
Powered by ViewVC