/[svn]/linuxsampler/trunk/src/scriptvm/parser.y
ViewVC logotype

Diff of /linuxsampler/trunk/src/scriptvm/parser.y

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

revision 3013 by schoenebeck, Sat Oct 15 23:54:27 2016 UTC revision 3054 by schoenebeck, Thu Dec 15 12:47:45 2016 UTC
# Line 31  Line 31 
31  %parse-param { LinuxSampler::ParserContext* context }  %parse-param { LinuxSampler::ParserContext* context }
32  %lex-param { void* scanner }  %lex-param { void* scanner }
33  // avoid symbol collision with other (i.e. future) auto generated (f)lex scanners  // avoid symbol collision with other (i.e. future) auto generated (f)lex scanners
34  %name-prefix "InstrScript_"  // (NOTE: "=" is deprecated here with Bison 3.x, however removing it would cause an error with Bison 2.x)
35    %name-prefix="InstrScript_"
36  %locations  %locations
37  %defines  %defines
38  %error-verbose  %error-verbose
# Line 831  int InstrScript_tnamerr(char* yyres, con Line 832  int InstrScript_tnamerr(char* yyres, con
832                yyres[yyn] = '\0';                yyres[yyn] = '\0';
833              return yyn;              return yyn;
834            }            }
835    /*
836      do_not_strip_quotes: ;      do_not_strip_quotes: ;
837    */
838      }      }
839    
840    if (! yyres)    if (! yyres)
841      return yystrlen (yystr);      return (int) yystrlen (yystr);
842    
843    return yystpcpy (yyres, yystr) - yyres;    return int( yystpcpy (yyres, yystr) - yyres );
844  }  }

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

  ViewVC Help
Powered by ViewVC