From 1fe5bf084adc5d3d6e4b754a775a16fc5420574f Mon Sep 17 00:00:00 2001 From: Rajdeep Bharati Date: Mon, 18 Feb 2019 21:12:51 +0530 Subject: [PATCH] Add complex number data type in Python This adds complex_python data type. Closes https://github.com/coala/coAST/issues/102 --- data/DataType/complex_python.yaml | 4 ++++ data/Language/Python.yaml | 1 + 2 files changed, 5 insertions(+) create mode 100644 data/DataType/complex_python.yaml diff --git a/data/DataType/complex_python.yaml b/data/DataType/complex_python.yaml new file mode 100644 index 0000000..34a8a31 --- /dev/null +++ b/data/DataType/complex_python.yaml @@ -0,0 +1,4 @@ +keyword: 'complex' +integer-min: 'uncertain' +integer-max: 'uncertain' +integer-signed: true diff --git a/data/Language/Python.yaml b/data/Language/Python.yaml index 76eb6b5..284d448 100644 --- a/data/Language/Python.yaml +++ b/data/Language/Python.yaml @@ -55,3 +55,4 @@ datatypes: - int_python - float_python - none_python + - complex_python