Encoding tables

This commit is contained in:
Jakub Melka
2018-12-02 17:53:19 +01:00
parent bc8617751e
commit 2e805b198c
8 changed files with 2321 additions and 9 deletions

View File

@@ -103,6 +103,7 @@ void LexicalAnalyzerTest::test_strings()
testTokens("(Text with special character: \\))", { Token(Type::String, QByteArray("Text with special character: )")) });
testTokens("(Text with special character: \\\\)", { Token(Type::String, QByteArray("Text with special character: \\")) });
testTokens("(\53)", { Token(Type::String, QByteArray("+")) });
testTokens("(\376\377)", { Token(Type::String, QByteArray("\376\377")) });
testTokens("(\0533)", { Token(Type::String, QByteArray("+3")) });
testTokens("(\053)", { Token(Type::String, QByteArray("+")) });
testTokens("(\053053)", { Token(Type::String, QByteArray("+053")) });