Closed MetalSlime0 closed 2 years ago
I didn't intend for my second commit to be part of the same pull request. Sorry, new to this.
I didn't intend for my second commit to be part of the same pull request. Sorry, new to this.
Thank you, and no problem. When you implement my feedback, please amend and force push so there are two commits: one for the backslashes and one for the intrusive list. I can then rebase.
I've manually adapted it and merged it. Thanks!
parse_linemarker was turning double backslashes into quadruple backslashes. Making it instead turn them into single backslashes makes the "lm.value().file == path" comparison true in preprocess() so that p.enable_write() is called.
fixes foonathan/cppast#106