mirror of
https://gitlab.com/scemama/irpf90.git
synced 2024-12-30 16:15:41 +01:00
Nicer output or irpf90_entities
Version:1.1.27
This commit is contained in:
parent
413a934889
commit
5826d2f004
@ -11,7 +11,14 @@ default:
|
||||
cp noarch/.rpmmacros ~;\
|
||||
mv noarch/*.tar.gz . ;\
|
||||
mv noarch/*.rpm . ;\
|
||||
rm -rf noarch
|
||||
rm -rf noarch;\
|
||||
NAME=`basename *.rpm .rpm`;\
|
||||
cd ..;\
|
||||
git archive --format=tar --prefix=irpf90/ HEAD | gzip > $$OLDPWD/$$NAME-src.tar.gz;\
|
||||
cd -;\
|
||||
ls $$NAME*;\
|
||||
|
||||
|
||||
|
||||
version: ../src/version.py
|
||||
./make_version.py > version
|
||||
|
@ -34,9 +34,9 @@ from util import *
|
||||
def do_print_short(file,var):
|
||||
assert isinstance(var,Variable)
|
||||
print >>file, "%s : %s :: %s %s"%( \
|
||||
var.line.filename[0],
|
||||
var.type,
|
||||
var.name,
|
||||
var.line.filename[0].ljust(25),
|
||||
var.type.ljust(25),
|
||||
var.name.ljust(25),
|
||||
build_dim(var.dim) )
|
||||
|
||||
######################################################################
|
||||
@ -97,10 +97,12 @@ def do_print(var):
|
||||
def run():
|
||||
import parsed_text
|
||||
file = open("irpf90_entities","w")
|
||||
for v in variables.keys():
|
||||
l = variables.keys()
|
||||
l.sort()
|
||||
for v in l:
|
||||
do_print_short(file,variables[v])
|
||||
file.close()
|
||||
for v in variables.keys():
|
||||
for v in l:
|
||||
do_print(variables[v])
|
||||
|
||||
######################################################################
|
||||
|
@ -1 +1 @@
|
||||
version = "1.1.26"
|
||||
version = "1.1.27"
|
||||
|
Loading…
Reference in New Issue
Block a user