mirror of https://github.com/libAthena/athena.git
added commenting to output
This commit is contained in:
parent
d6a489753d
commit
1aa3a705af
|
@ -1,7 +1,7 @@
|
|||
# PKGBUILD for atdna
|
||||
_pkgname=atdna
|
||||
pkgname=$_pkgname-git
|
||||
pkgver=1.1.0.30.gc086957
|
||||
pkgver=1.1.0.31.gd6a4897
|
||||
pkgrel=1
|
||||
pkgdesc="Companion DNA utility for libAthena"
|
||||
arch=('i686' 'x86_64')
|
||||
|
|
|
@ -288,6 +288,7 @@ public:
|
|||
currentEndian = endian;
|
||||
}
|
||||
|
||||
fileOut << " /* " << field->getName() << " */\n";
|
||||
if (!p)
|
||||
fileOut << " " << field->getName() << " = " << ioOp << ";\n";
|
||||
else
|
||||
|
@ -382,6 +383,7 @@ public:
|
|||
currentEndian = endian;
|
||||
}
|
||||
|
||||
fileOut << " /* " << field->getName() << " */\n";
|
||||
if (!p)
|
||||
{
|
||||
fileOut << " " << field->getName() << ".clear();\n";
|
||||
|
@ -417,7 +419,8 @@ public:
|
|||
clang::QualType canonType = base.getType().getCanonicalType();
|
||||
if (!canonType.getAsString().compare(0, 22, "struct Athena::io::DNA"))
|
||||
{
|
||||
fileOut << " " << field->getNameAsString() << (p ? ".write(writer);\n" : ".read(reader);\n");
|
||||
fileOut << " /* " << field->getName() << " */\n";
|
||||
fileOut << " " << field->getName() << (p ? ".write(writer);\n" : ".read(reader);\n");
|
||||
currentEndian = -1;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue