Ensure DEFINE FIELD statements deserialize correctly

This commit is contained in:
Tobie Morgan Hitchcock 2023-04-01 19:07:00 +01:00
parent 2895026593
commit 64873eb881

View file

@ -1001,11 +1001,11 @@ fn event(i: &str) -> IResult<&str, DefineEventStatement> {
pub struct DefineFieldStatement { pub struct DefineFieldStatement {
pub name: Idiom, pub name: Idiom,
pub what: Ident, pub what: Ident,
pub flex: bool,
pub kind: Option<Kind>, pub kind: Option<Kind>,
pub value: Option<Value>, pub value: Option<Value>,
pub assert: Option<Value>, pub assert: Option<Value>,
pub permissions: Permissions, pub permissions: Permissions,
pub flex: bool,
} }
impl DefineFieldStatement { impl DefineFieldStatement {