} else if (yyextra->size_ == 0) \
value = YY_NULL; \
else { \
- size_t copy(std::min(size, yyextra->size_)); \
+ size_t copy(size); \
+ copy = (std::min(copy, yyextra->size_)); \
memcpy(data, yyextra->data_, copy); \
yyextra->data_ += copy; \
yyextra->size_ -= copy; \
<RegExp>\/{RegularExpressionBody}\/{RegularExpressionFlags} E("")
\/\/[^\n]* L
+\/\*!(\n|[^\*]|\*[^/])*\*\/ V() C yylval->comment_ = new(yyextra->pool_) CYComment(apr_pstrmemdup(yyextra->pool_, yytext, yyleng)); return tk::Comment;
\/\*(\n|[^\*]|\*[^/])*\*\/ V(N)
@begin E4X
@end
@begin E4X
-"@" L C return tk::At;
"::" L C return tk::ColonColon;
".." L C return tk::PeriodPeriod;
@end
+@begin E4X ObjectiveC
+"@" L C return tk::At;
+@end
+
"&" L C return tk::Ampersand;
"&&" L C return tk::AmpersandAmpersand;
"&=" L C return tk::AmpersandEqual;