RENDER(Request& context) { // Regression: this comment contains <> and an apostrophe that shouldn't start a literal block: <> String outer_status = "outer parser ok"; <>
This page exists to prove the template parser ignores quotes and template markers that appear inside C++ comments.
// Regression: this comment's apostrophe must not swallow the later ?> marker. String inline_status = "inline comment ok"; ?> /* Regression: block comments may contain "quotes", apostrophe's, and <> markers without confusing the parser or the generated .cpp output. */ String block_status = "block comment ok"; ?>= outer_status ?>= inline_status ?>= block_status ?>= var_dump(context.params) ?>