1
--- a/src/Core/Scanner.vala
2
+++ b/src/Core/Scanner.vala
5
throw new SCANNER_ERROR.ALPHA_INVALID (_("'%s' is invalid."), t.content);
7
- } else if (t.token_type == TokenType.OPERATOR && t.content == "-") {
8
+ } else if (t.token_type == TokenType.OPERATOR && (t.content == "-" || t.content == "−")) {
9
if (last_token == null || (last_token != null && last_token.token_type != TokenType.NUMBER &&
10
last_token.token_type != TokenType.P_RIGHT)) {
11
next_number_negative = true;