aboutsummaryrefslogtreecommitdiff
path: root/crates/parser/src/grammar/items.rs
diff options
context:
space:
mode:
authorMatthias Einwag <[email protected]>2020-09-23 09:03:34 +0100
committerMatthias Einwag <[email protected]>2020-09-23 09:03:34 +0100
commit145bd6f70138246b4e5efebcd94786f147ac9e7a (patch)
tree120e380da28da851bc4ad632a009b4d14ccc1b65 /crates/parser/src/grammar/items.rs
parent501b516db4a9a50c39e2fb90b389d77c9541e43f (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