X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fio%2Ftoken.cpp;h=b462df778b593ee11927d6e80da46031b530b709;hb=33b37e7242e4cbfa76e4a0d6e5bb54223b541162;hp=cf3ac3b97ec87e7af45f94252807fc2bfb8237cd;hpb=a50aa0f2a2fea14f5f8c56209e2ecde3088ef913;p=blank.git diff --git a/src/io/token.cpp b/src/io/token.cpp index cf3ac3b..b462df7 100644 --- a/src/io/token.cpp +++ b/src/io/token.cpp @@ -174,7 +174,7 @@ void Tokenizer::ReadIdentifier() { istream::char_type c; while (in.get(c)) { - if (isalnum(c) || c == '_') { + if (isalnum(c) || c == '_' || c == '.') { current.value += c; } else { in.putback(c);