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

Diff of /linuxsampler/trunk/src/scriptvm/scanner.l

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

revision 3054 by schoenebeck, Thu Dec 15 12:47:45 2016 UTC revision 3260 by schoenebeck, Wed May 31 21:07:44 2017 UTC
# Line 1  Line 1 
1  /*  /*
2   * Copyright (c) 2014-2016 Christian Schoenebeck and Andreas Persson   * Copyright (c) 2014-2017 Christian Schoenebeck and Andreas Persson
3   *   *
4   * http://www.linuxsampler.org   * http://www.linuxsampler.org
5   *   *
# Line 248  ID       [a-zA-Z0-9_]+ Line 248  ID       [a-zA-Z0-9_]+
248  "mod" return MOD;  "mod" return MOD;
249  "function" return FUNCTION;  "function" return FUNCTION;
250  "call" return CALL;  "call" return CALL;
251    "synchronized" return SYNCHRONIZED;
252    
253  [&,()[\]<>=*+#/-] {  [&,()[\]<>=*+#/-] {
254      return *yytext;      return *yytext;
# Line 278  ID       [a-zA-Z0-9_]+ Line 279  ID       [a-zA-Z0-9_]+
279    
280  [ \t\r]+ /* eat up whitespace */  [ \t\r]+ /* eat up whitespace */
281    
282  . printf( "Unrecognized character: '%s' (line %d, column %d)\n", yytext, yylineno, yycolumn);  . {
283        printf( "Unrecognized character: '%s' (line %d, column %d)\n", yytext, yylineno, yycolumn);
284        return UNKNOWN_CHAR;
285    }
286    
287  %%  %%
288    

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

  ViewVC Help
Powered by ViewVC