RosettaCommons / tools

Tools for parsing Rosetta source code and scripts for running specific Rosetta applications.
Other
3 stars 1 forks source link

Beautifier can't parse C++11 raw strings #68

Open bcov77 opened 6 years ago

bcov77 commented 6 years ago

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 
)";