Forgot to add "x" as a multiplication sign as well.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28922 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2009-01-17 14:21:53 +00:00
parent 85d74ff62d
commit bc7dbfd71d
+2 -1
View File
@@ -154,7 +154,7 @@ class Tokenizer {
TOKEN_CONSTANT);
fCurrentToken.value = temp.String();
} else if (isalpha(*fCurrentChar)) {
} else if (isalpha(*fCurrentChar) && *fCurrentChar != 'x') {
const char* begin = fCurrentChar;
while (*fCurrentChar != 0 && (isalpha(*fCurrentChar)
@@ -177,6 +177,7 @@ class Tokenizer {
type = TOKEN_MINUS;
break;
case '*':
case 'x':
type = TOKEN_STAR;
break;
case '/':