Revert "2020 day2/vhdl: workaround ghdl#1529"
This reverts commit 2f1277c4b11de75e39bec5f83d0ec6446a1d07f2.
This commit is contained in:
parent
11b9dcb199
commit
9dbea8448c
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ architecture behaviour of parser is
|
||||||
|
|
||||||
function char_to_digit(input : in character) return digit is
|
function char_to_digit(input : in character) return digit is
|
||||||
begin
|
begin
|
||||||
if not (input < '0') and input <= '9' then
|
if input >= '0' and input <= '9' then
|
||||||
return character'pos(input) - character'pos('0');
|
return character'pos(input) - character'pos('0');
|
||||||
else
|
else
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue