Commit ede1c491 authored by Alexander Saltanov's avatar Alexander Saltanov

Add `group` to the list of possible annotations targets.

parent 12d346b2
...@@ -595,9 +595,9 @@ struct MyType $foo("bar") { ...@@ -595,9 +595,9 @@ struct MyType $foo("bar") {
} }
{% endhighlight %} {% endhighlight %}
The possible targets for an annotation are: `file`, `struct`, `field`, `union`, `enum`, `enumerant`, The possible targets for an annotation are: `file`, `struct`, `field`, `union`, `group`, `enum`,
`interface`, `method`, `parameter`, `annotation`, `const`. You may also specify `*` to cover them `enumerant`, `interface`, `method`, `parameter`, `annotation`, `const`.
all. You may also specify `*` to cover them all.
{% highlight capnp %} {% highlight capnp %}
annotation baz(*) :Int32; annotation baz(*) :Int32;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment