diff --git a/crates/varcon-core/src/lib.rs b/crates/varcon-core/src/lib.rs index 614bf4a..691cfd4 100644 --- a/crates/varcon-core/src/lib.rs +++ b/crates/varcon-core/src/lib.rs @@ -124,6 +124,7 @@ pub enum Pos { Verb = 0x02, Adjective = 0x04, Adverb = 0x08, + Interjection = 0x10, } #[cfg(feature = "flags")] diff --git a/crates/varcon-core/src/parser.rs b/crates/varcon-core/src/parser.rs index e82771f..bf40777 100644 --- a/crates/varcon-core/src/parser.rs +++ b/crates/varcon-core/src/parser.rs @@ -1936,6 +1936,7 @@ impl Pos { "V".value(Pos::Verb), "Adj".value(Pos::Adjective), "Adv".value(Pos::Adverb), + "Inj".value(Pos::Interjection), )) .parse_next(input) }) diff --git a/crates/varcon/src/codegen.rs b/crates/varcon/src/codegen.rs index 7c8a19d..ed40997 100644 --- a/crates/varcon/src/codegen.rs +++ b/crates/varcon/src/codegen.rs @@ -182564,8 +182564,8 @@ Cluster { ], }, ], - pos: None, archaic: false, note: false, - description: Some(" :2"), + pos: Some(Pos::Interjection), archaic: false, note: false, + description: Some(":2"), comment: None, }, ],