fix datum reset with comment token

This commit is contained in:
David Back 2018-01-04 12:56:57 -08:00
parent e9f30549f4
commit 2c5a433ea1

View file

@ -70,6 +70,7 @@ int OBJTokenizer::nextToken(bool allowSpaceChar /*= false*/) {
}
switch (ch) {
case '#': {
_datum = "";
_comment = _device->readLine(); // stash comment for a future call to getComment
return COMMENT_TOKEN;
}