CoreParse
CoreParse copied to clipboard
A feature added, and gitignore file updated
- Added shouldQuoteEscapeSequence for CPQuotedRecogniser.
This property is very useful when parse multiline string in source code. e.g. : a C string :
"Quick brown\
fox jumps over a lazy dog"
should be parsed into Quick brown fox jumps over a lazy dog, not Quick brown\ fox jumps over a lazy dog. And this work will be done only to set shouldQuoteEscapeSequence to YES.
- Removed shared project config files, and updated gitignore file.
As I commented in the other patch - I'm not sure this makes sense. Isn't this just an escapeRecogniser?
@beelsebob I didn't find escapeRecogniser in CoreParse project, did you mean escapeReplacer ?
@OpenFibers its CPQuotedRecogniser
https://github.com/beelsebob/CoreParse/blob/master/CoreParse/Tokenisation/Token%20Recognisers/CPQuotedRecogniser.h
@beelsebob I see the escapeReplace covers the work shouldQuoteEscapeSequence can do, so forget shouldQuoteEscapeSequence, it's a bad idea.
But you may want to merge commits of .gitignore and remove local config files.