diff options
author | Matthias Einwag <[email protected]> | 2020-09-23 09:03:34 +0100 |
---|---|---|
committer | Matthias Einwag <[email protected]> | 2020-09-23 09:03:34 +0100 |
commit | 145bd6f70138246b4e5efebcd94786f147ac9e7a (patch) | |
tree | 120e380da28da851bc4ad632a009b4d14ccc1b65 /crates/parser/src/grammar/items.rs | |
parent | 501b516db4a9a50c39e2fb90b389d77c9541e43f (diff) |
Fix clearing the token
The previous version would have interpreted an empty token as
an abort of the dialog and would have not properly cleared the token.
This is now fixed by checking for `undefined` for a an abort and
by setting the token to `undefined` in order to clear it.
Diffstat (limited to 'crates/parser/src/grammar/items.rs')
0 files changed, 0 insertions, 0 deletions