Commit 8ee2521f authored by Erik Verbruggen's avatar Erik Verbruggen

Fixed tokenizing bug.

parent f20841ca
......@@ -147,11 +147,11 @@ static inline int classify10(const char *s) {
if (s[2] == 'S') {
if (s[3] == 'I') {
if (s[4] == 'G') {
if (s[0] == 'N') {
if (s[1] == 'A') {
if (s[2] == 'B') {
if (s[3] == 'L') {
if (s[4] == 'E') {
if (s[5] == 'N') {
if (s[6] == 'A') {
if (s[7] == 'B') {
if (s[8] == 'L') {
if (s[9] == 'E') {
return Token_DESIGNABLE;
}
}
......@@ -168,11 +168,11 @@ static inline int classify10(const char *s) {
if (s[2] == 'R') {
if (s[3] == 'I') {
if (s[4] == 'P') {
if (s[0] == 'T') {
if (s[1] == 'A') {
if (s[2] == 'B') {
if (s[3] == 'L') {
if (s[4] == 'E') {
if (s[5] == 'T') {
if (s[6] == 'A') {
if (s[7] == 'B') {
if (s[8] == 'L') {
if (s[9] == 'E') {
return Token_SCRIPTABLE;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment