From 73419afb36e88a3c881dc62fd74ab886200f3d55 Mon Sep 17 00:00:00 2001 From: fhuemer Date: Fri, 23 Sep 2022 19:21:04 +0200 Subject: pyGHDL: added missing type annotations. Fix #2192 (#2195) --- pyGHDL/libghdl/vhdl/scanner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pyGHDL/libghdl/vhdl') diff --git a/pyGHDL/libghdl/vhdl/scanner.py b/pyGHDL/libghdl/vhdl/scanner.py index da6b63520..6f6e0353e 100644 --- a/pyGHDL/libghdl/vhdl/scanner.py +++ b/pyGHDL/libghdl/vhdl/scanner.py @@ -97,7 +97,7 @@ def Get_Token_Offset() -> int: @export @BindToLibGHDL("vhdl__scanner__get_token_position") -def Get_Token_Position(): +def Get_Token_Position() -> int: """ Get the current token's position. @@ -108,7 +108,7 @@ def Get_Token_Position(): @export @BindToLibGHDL("vhdl__scanner__get_position") -def Get_Position(): +def Get_Position() -> int: """ Get the current position. -- cgit v1.2.3