Compare commits

...

1 Commits

Author SHA1 Message Date
Philip Ginsbach
83e447dd65 fix QL match-string pattern 2022-12-02 14:49:18 +00:00

View File

@@ -793,7 +793,7 @@ class CharacterLiteral extends Literal, @characterliteral {
* the character to an `int`.
*/
int getCodePointValue() {
if this.getLiteral().matches("'\\u____'")
if this.getLiteral().matches("'\\\\u____'")
then result = fromHex(this.getLiteral().substring(3, 7))
else result.toUnicode() = this.getValue()
}