diff --git a/grammar.js b/grammar.js index b365093..c604cf0 100644 --- a/grammar.js +++ b/grammar.js @@ -85,7 +85,7 @@ module.exports = grammar({ translation_unit: $ => repeat($._top_level_item), _linux_kernel_annotations: $ => token(choice( - '__init', + '__init', '__exit', '__initdata', '__exitdata', @@ -117,10 +117,6 @@ module.exports = grammar({ '__kernel', '__force', '__iomem', - '__acquires', - '__releases', - '__acquire', - '__release', '__rcu', '__percpu', '__init_once' diff --git a/src/grammar.json b/src/grammar.json index 2620e7c..2cdbeb7 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -142,22 +142,6 @@ "type": "STRING", "value": "__iomem" }, - { - "type": "STRING", - "value": "__acquires" - }, - { - "type": "STRING", - "value": "__releases" - }, - { - "type": "STRING", - "value": "__acquire" - }, - { - "type": "STRING", - "value": "__release" - }, { "type": "STRING", "value": "__rcu"