parser: allow enums to be used as bitfield flags

This commit is contained in:
joe-conigliaro 2019-12-10 14:16:47 +11:00 committed by Alexander Medvednikov
parent 0650d58818
commit 6d5e9f88f8
7 changed files with 89 additions and 4 deletions

View file

@ -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'
)