RosettaCommons / tools

Tools for parsing Rosetta source code and scripts for running specific Rosetta applications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Beautifier can't parse C++11 raw strings

bcov77 opened this issue · comments

If you have a C++11 raw string in your code, the beautifier will give this error message.

MACRO set:  did not produce the same tree in the original and beautified code for ...

Raw strings are pretty cool because they allow you to have multiline strings without all the extra "" and also allow you to have unescaped sequences like for regular expressions.

They typically look like this:

std::string my_raw_string = R"(
   woo look at me, it's a
   multiline string that "breaks" \ all sorts of rules 
)";