mirror of
https://github.com/RGBCube/serenity
synced 2026-01-12 22:50:59 +00:00
This fixes #9978. When a TokenStream is empty, reading its `current_token()` still returns a token (for EOF) so it makes sense to allow users to `reconsume_current_input_token()` that token, so they do not have to handle that themselves. Instead of VERIFY()ing, we can just no-op when reconsuming token 0. |
||
|---|---|---|
| .. | ||
| DeclarationOrAtRule.h | ||
| Parser.cpp | ||
| Parser.h | ||
| StyleBlockRule.h | ||
| StyleComponentValueRule.h | ||
| StyleDeclarationRule.h | ||
| StyleFunctionRule.h | ||
| StyleRule.h | ||
| StyleRules.cpp | ||
| Token.cpp | ||
| Token.h | ||
| Tokenizer.cpp | ||
| Tokenizer.h | ||