diff --git a/src/parse.rs b/src/parse.rs index f8de31e..c075470 100644 --- a/src/parse.rs +++ b/src/parse.rs @@ -174,7 +174,7 @@ fn variable_declaration(i: &str) -> IResult<&str, crate::VariableDeclaration> let domain = match name.chars().next() { Some('X') | Some('Y') | Some('Z') => crate::Domain::Program, - Some('I') | Some('N') | Some('M') => crate::Domain::Integer, + Some('I') | Some('J') | Some('K') | Some('L') | Some('M') | Some('N') => crate::Domain::Integer, Some(other) => panic!("variable “{}” starts with character “{}”, which is not allowed", name, other), None => panic!("unexpected variable name, please report to bug tracker"), };