Update grammar

This commit is contained in:
Aleksey Kladov
2020-08-01 13:47:19 +02:00
parent 5af32aeb2b
commit bff8dd0949
37 changed files with 150 additions and 151 deletions

View File

@@ -546,7 +546,7 @@ fn highlight_element(
T![!] if element.parent().and_then(ast::MacroCall::cast).is_some() => {
HighlightTag::Macro.into()
}
T![*] if element.parent().and_then(ast::PointerType::cast).is_some() => {
T![*] if element.parent().and_then(ast::PtrType::cast).is_some() => {
HighlightTag::Keyword.into()
}
T![*] if element.parent().and_then(ast::PrefixExpr::cast).is_some() => {