aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/libghdl
diff options
context:
space:
mode:
Diffstat (limited to 'pyGHDL/libghdl')
-rw-r--r--pyGHDL/libghdl/vhdl/scanner.py4
1 files changed, 2 insertions, 2 deletions
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.