Commit 21c20cc7 authored by Maxime Perrotin's avatar Maxime Perrotin

Merge branch 'master' of https://gitrepos.estec.esa.int/taste/dmt

parents 8ac40e48 040fd4ea
......@@ -31,7 +31,7 @@ enums_dump = "\n ".join(
)
enums_dump += "\n ".join(
'printf("%s = %d\\n");' % (name.strip(), int(val))
'printf("{} = {}\\n");'.format(name.strip(), val.replace('LL', ''))
for name, val in enums
)
uniq = os.getpid()
......
......@@ -150,7 +150,7 @@ $(BDIR)/asn1crt.c $(BDIR)/$(GRAMMAR).c $(BDIR)/real.c $(BDIR)/acn.c $(BDIR)/$(GR
$(BDIR)/DV.py: $(GRAMMAR).asn
%(tab)sgrep 'REQUIRED_BYTES_FOR_.*ENCODING' $(BDIR)/$(GRAMMAR).h | awk '{print $$2 " = " $$3}' > $@
%(tab)spython learn_CHOICE_enums.py %(base)s >> $@
%(tab)spython learn_CHOICE_enums.py %(base)s >> $@ || rm $@
$(BDIR)/%%.o: $(BDIR)/%%.c
%(tab)sgcc -g -fPIC -c `python-config --includes` -o $@ $<
......
......@@ -11,7 +11,7 @@ from setuptools import setup, find_packages
setup(
name='dmt',
version="2.1.28",
version="2.1.29",
packages=find_packages(),
author='Thanassis Tsiodras',
author_email='Thanassis.Tsiodras@esa.int',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment