summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Common/RangeExpression.py
diff options
context:
space:
mode:
authorFeng, Bob C <bob.c.feng@intel.com>2018-12-15 00:15:21 +0800
committerBobCF <bob.c.feng@intel.com>2018-12-18 10:15:50 +0800
commit4c6e6f9f75a7b86d7760f5409a24b3c20759ccb9 (patch)
tree9cd4b8bdd536f7160ea2e78893994186eba8fe03 /BaseTools/Source/Python/Common/RangeExpression.py
parent778c7640505aafa0bfde1b084ba870d361cacaef (diff)
downloadedk2-4c6e6f9f75a7b86d7760f5409a24b3c20759ccb9.tar.gz
edk2-4c6e6f9f75a7b86d7760f5409a24b3c20759ccb9.tar.bz2
edk2-4c6e6f9f75a7b86d7760f5409a24b3c20759ccb9.zip
BaseTools: Fix PcdArray issue
https://bugzilla.tianocore.org/show_bug.cgi?id=1390 1. support hex number for array index 2. support Non-Dynamic Pcd for array data type 3. support {} and {CODE()} for array data type 4. Change GetStructurePcdMaxSize to be a static function since it need to be called in another static function. And this function does not depend on it's class instance. 5. Add unittest for RemoveCComments function and ArrayIndex regular expression. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Philippe Mathieu-Daud? <philmd@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Common/RangeExpression.py')
0 files changed, 0 insertions, 0 deletions