grammar: Differentiate between uints and floats.

This commit is contained in:
Michal Krol
2009-09-22 12:52:53 +02:00
parent 125691dda3
commit cd41395073
+4 -2
View File
@@ -2067,8 +2067,10 @@ static int get_spec (const byte **text, spec **sp, map_str *maps, map_byte *mapb
s->m_token = SL_PP_COLON;
} else if (!strcmp(s->m_string, "@ID")) {
s->m_token = SL_PP_IDENTIFIER;
} else if (!strcmp(s->m_string, "@NUM")) {
s->m_token = SL_PP_NUMBER;
} else if (!strcmp(s->m_string, "@UINT")) {
s->m_token = SL_PP_UINT;
} else if (!strcmp(s->m_string, "@FLOAT")) {
s->m_token = SL_PP_FLOAT;
} else if (!strcmp(s->m_string, "@EOF")) {
s->m_token = SL_PP_EOF;
} else {