]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/Eot/CParser3/__init__.py
BaseTools: Eot tool Python3 adaption
authorFeng, Bob C <bob.c.feng@intel.com>
Mon, 14 Jan 2019 08:41:22 +0000 (16:41 +0800)
committerFeng, Bob C <bob.c.feng@intel.com>
Fri, 1 Feb 2019 03:09:25 +0000 (11:09 +0800)
commit8189be6fd7d7bdd15323b40d5f2f8d0ff822e2d5
tree34ad4fd6783f24c4a5568b0a259a379950b91ae8
parentc60377d7f9ec80ecc7fe76c38b81ffd98b7ef2e4
BaseTools: Eot tool Python3 adaption

v2:
The python files under CParser4 are generated by antlr4 and for
python3 usage. They have python3 specific syntax, for example
the data type declaration for the arguments of a function. That
is not compitable with python2. this patch is to remove these syntax.

Eot tool Python3 adaption.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/Python/Eot/CLexer.py [deleted file]
BaseTools/Source/Python/Eot/CParser.py [deleted file]
BaseTools/Source/Python/Eot/CParser3/CLexer.py [new file with mode: 0644]
BaseTools/Source/Python/Eot/CParser3/CParser.py [new file with mode: 0644]
BaseTools/Source/Python/Eot/CParser3/__init__.py [new file with mode: 0644]
BaseTools/Source/Python/Eot/CParser4/CLexer.py [new file with mode: 0644]
BaseTools/Source/Python/Eot/CParser4/CListener.py [new file with mode: 0644]
BaseTools/Source/Python/Eot/CParser4/CParser.py [new file with mode: 0644]
BaseTools/Source/Python/Eot/CParser4/__init__.py [new file with mode: 0644]
BaseTools/Source/Python/Eot/CodeFragmentCollector.py