command_parser: rm unused tokens

This commit is contained in:
Astro 2019-09-14 02:35:12 +02:00
parent 5ef8d6a747
commit 5e0f55647a

View File

@ -10,10 +10,6 @@ enum Token {
#[token = "Quit"] #[token = "Quit"]
Quit, Quit,
#[token = "show"]
Show,
#[token = "channel"]
Channel,
#[token = "report"] #[token = "report"]
Report, Report,
#[token = "mode"] #[token = "mode"]
@ -24,24 +20,6 @@ enum Token {
Once, Once,
#[token = "continuous"] #[token = "continuous"]
Continuous, Continuous,
#[token = "enable"]
Enable,
#[token = "disable"]
Disable,
#[token = "setup"]
Setup,
#[token = "ref+"]
RefPos,
#[token = "ref-"]
RefNeg,
#[token = "ain+"]
AinPos,
#[token = "ain-"]
AinNeg,
#[token = "unipolar"]
Unipolar,
#[token = "burnout"]
Burnout,
#[regex = "[0-9]+"] #[regex = "[0-9]+"]
Number, Number,