uyha / tree-sitter-cmake

A Tree-sitter parser for CMake
MIT License
41 stars 9 forks source link

fix(escape): \; should also be escape sequences #9

Closed Decodetalkers closed 2 years ago

Decodetalkers commented 2 years ago

Towards to https://cmake.org/cmake/help/latest/manual/cmake-language.7.html, "\;" is also escape sequences

Log: add ";" to escape sequences

Decodetalkers commented 2 years ago

o, ";" is not escape sequences, it is a keyword,

Decodetalkers commented 2 years ago

So ...

uyha commented 2 years ago

sorry, i was busy, can you also add tests for this?

Decodetalkers commented 2 years ago

sorry, i was busy, can you also add tests for this?

Now the test is added

uyha commented 2 years ago

thanks for the PR