diff options
author | umarcor <unai.martinezcorral@ehu.eus> | 2020-12-27 22:10:38 +0100 |
---|---|---|
committer | umarcor <unai.martinezcorral@ehu.eus> | 2020-12-27 23:13:21 +0100 |
commit | bf74a0983c2d534e217e7312ab559ca8929ff8a2 (patch) | |
tree | fb630d5b83afc2f112996ebb5f1eac44de868132 /python/libghdl/thin/vhdl/scanner.py | |
parent | 340fc792bba2ffdb4f930bc427a39ea3a1b659b2 (diff) | |
download | ghdl-bf74a0983c2d534e217e7312ab559ca8929ff8a2.tar.gz ghdl-bf74a0983c2d534e217e7312ab559ca8929ff8a2.tar.bz2 ghdl-bf74a0983c2d534e217e7312ab559ca8929ff8a2.zip |
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'.
Diffstat (limited to 'python/libghdl/thin/vhdl/scanner.py')
-rw-r--r-- | python/libghdl/thin/vhdl/scanner.py | 23 |
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 |