Do not parse ''' as valid rune.
Fix duplicates in runes test: '\'' is same as '''. Add '\\'' instead.
Details
Details
- Reviewers
apol brauch - Commits
- R59:8575b935f2ad: Fix runes parsing.
Tests pass.
Diff Detail
Diff Detail
- Repository
- R59 KDevelop Go
- Branch
- fix_runes
- Lint
No Linters Available - Unit
No Unit Test Coverage
parser/test/parsertest.cpp | ||
---|---|---|
137 ↗ | (On Diff #15432) | Yep, if token could not be parsed it ends up with "Token_TEST" as far as I understood. So, there is verification that ''' is not parsed (because it's not valid go code) |
parser/test/parsertest.cpp | ||
---|---|---|
129 ↗ | (On Diff #15432) | Good idea. I will fix that in another RR since there are a lot of such QVERIFY misuses in that file (not related to this test\change) |