Fixed the NextIs method to put back the symbol, when at the end of the file
This commit is contained in:
parent
faccd90aa5
commit
1318a83511
|
|
@ -308,6 +308,11 @@ namespace Microsoft.AspNetCore.Razor.Language.Legacy
|
||||||
EnsureCurrent();
|
EnsureCurrent();
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
PutBack(cur);
|
||||||
|
EnsureCurrent();
|
||||||
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue