mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
parser: allow enums to be used as bitfield flags
This commit is contained in:
parent
0650d58818
commit
6d5e9f88f8
7 changed files with 89 additions and 4 deletions
|
@ -258,4 +258,6 @@ const (
|
|||
|
||||
and_or_error = 'use `()` to make the boolean expression clear\n' +
|
||||
'for example: `(a && b) || c` instead of `a && b || c`'
|
||||
|
||||
err_modify_bitfield = 'to modify a bitfield flag use the methods: set, clear, toggle. and to check for flag use: has'
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue