~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/execute/scanner.l

  • Committer: Olaf van der Spek
  • Date: 2011-10-06 18:18:31 UTC
  • mto: This revision was merged to the branch mainline in revision 2433.
  • Revision ID: olafvdspek@gmail.com-20111006181831-1ix5b80ry7iifbjf
Use lex_string assign(), data() and size()

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
 
125
125
 
126
126
[[:punct:]]?{ALNUM}*["."{ALNUM}_-]*{ALNUM}*[[:punct:]]? {
127
 
      yylval->string.str = yytext;
128
 
      yylval->string.length = yyleng;
 
127
      yylval->string.assign(yytext, yyleng);
129
128
      return STRING;
130
129
    }
131
130