Fixed the NextIs method to put back the symbol, when at the end of the file

This commit is contained in:
Artak Mkrtchyan 2018-03-08 17:13:34 -08:00
parent faccd90aa5
commit 1318a83511
No known key found for this signature in database
GPG Key ID: 64D580ACBA8CA645
1 changed files with 5 additions and 0 deletions

View File

@ -308,6 +308,11 @@ namespace Microsoft.AspNetCore.Razor.Language.Legacy
EnsureCurrent();
return result;
}
else
{
PutBack(cur);
EnsureCurrent();
}
return false;
}