From bf74a0983c2d534e217e7312ab559ca8929ff8a2 Mon Sep 17 00:00:00 2001 From: umarcor Date: Sun, 27 Dec 2020 22:10:38 +0100 Subject: rework 'python', rename to 'pyGHDL' * Rename 'python' to 'pyGHDL'. * Let 'thin' be 'libghdl'. * Move move 'pyutils.py' from 'python/libghdl/vhdl' to a separate package ('pyGHDL/libghdl/utils/'). * Update 'vhdl_langserver' accordingly. * Rename 'vhdl_langserver' to 'lsp'. * Move 'ghdl-ls' to 'pyGHDL/cli'. --- python/libghdl/thin/vhdl/scanner.py | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 python/libghdl/thin/vhdl/scanner.py (limited to 'python/libghdl/thin/vhdl/scanner.py') 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 -- cgit v1.2.3