The current quotation escape checker fails in the case that there is an anonymous node that is just an escaped backslash (it thinks the backslash escapes the quote, when really it is just an escaped backslash itself. See the added test case for an example of this). This commit ensures the node identification logic keeps track of the number of backslashes seen so it can accurately determine if the quotation is escaped or not. |
||
|---|---|---|
| .. | ||
| helpers | ||
| proc_macro | ||
| async_context_test.rs | ||
| corpus_test.rs | ||
| detect_language.rs | ||
| highlight_test.rs | ||
| language_test.rs | ||
| mod.rs | ||
| node_test.rs | ||
| parser_hang_test.rs | ||
| parser_test.rs | ||
| pathological_test.rs | ||
| query_test.rs | ||
| tags_test.rs | ||
| test_highlight_test.rs | ||
| test_tags_test.rs | ||
| text_provider_test.rs | ||
| tree_test.rs | ||
| wasm_language_test.rs | ||