From 8c801426a59d0514e65c5802e7bd1d87068794fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20L=C3=BChne?= Date: Fri, 5 Jun 2020 18:50:09 +0200 Subject: [PATCH] Allow U, V, and W for program variables --- src/ast.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ast.rs b/src/ast.rs index 1892125..66ce33c 100644 --- a/src/ast.rs +++ b/src/ast.rs @@ -422,7 +422,10 @@ impl VariableDeclaration | Some('L') | Some('M') | Some('N') => return Ok(crate::Domain::Integer), - Some('X') + Some('U') + | Some('V') + | Some('W') + | Some('X') | Some('Y') | Some('Z') => return Ok(crate::Domain::Program), Some('_') => continue,