aboutsummaryrefslogtreecommitdiffstats
path: root/python/libghdl/thin/vhdl/scanner.py
diff options
context:
space:
mode:
authortgingold <tgingold@users.noreply.github.com>2020-12-29 17:19:09 +0100
committerGitHub <noreply@github.com>2020-12-29 17:19:09 +0100
commit7ca54117b8f757396ba5ef04c83ff1228ca94384 (patch)
treecc5f7f4166cc0570bda5cf2047d3ef7abbc36e37 /python/libghdl/thin/vhdl/scanner.py
parent340fc792bba2ffdb4f930bc427a39ea3a1b659b2 (diff)
parent50adcf884c3cfa4e33ca45769295f163baa63a3e (diff)
downloadghdl-7ca54117b8f757396ba5ef04c83ff1228ca94384.tar.gz
ghdl-7ca54117b8f757396ba5ef04c83ff1228ca94384.tar.bz2
ghdl-7ca54117b8f757396ba5ef04c83ff1228ca94384.zip
Merge pull request #1556 from Paebbels/paebbels/pyGHDL
Cleanup and Restructuring of pyGHDL
Diffstat (limited to 'python/libghdl/thin/vhdl/scanner.py')
-rw-r--r--python/libghdl/thin/vhdl/scanner.py23
1 files changed, 0 insertions, 23 deletions
diff --git a/python/libghdl/thin/vhdl/scanner.py b/python/libghdl/thin/vhdl/scanner.py
deleted file mode 100644
index 8cea66ba3..000000000
--- a/python/libghdl/thin/vhdl/scanner.py
+++ /dev/null
@@ -1,23 +0,0 @@
-from libghdl import libghdl
-from ctypes import c_int, c_bool
-
-Set_File = libghdl.vhdl__scanner__set_file
-
-Close_File = libghdl.vhdl__scanner__close_file
-
-Scan = libghdl.vhdl__scanner__scan
-
-# This is a c_int, so you want to use its .value
-Current_Token = c_int.in_dll(libghdl, "vhdl__scanner__current_token")
-
-Flag_Comment = c_bool.in_dll(libghdl, "vhdl__scanner__flag_comment")
-
-Get_Current_Line = libghdl.vhdl__scanner__get_current_line
-
-Get_Token_Offset = libghdl.vhdl__scanner__get_token_offset
-
-Get_Token_Position = libghdl.vhdl__scanner__get_token_position
-
-Get_Position = libghdl.vhdl__scanner__get_position
-
-Current_Identifier = libghdl.vhdl__scanner__current_identifier