mirror of https://github.com/libAthena/athena.git
generator fix
This commit is contained in:
parent
c08695709e
commit
d6a489753d
|
@ -1,7 +1,7 @@
|
||||||
# PKGBUILD for atdna
|
# PKGBUILD for atdna
|
||||||
_pkgname=atdna
|
_pkgname=atdna
|
||||||
pkgname=$_pkgname-git
|
pkgname=$_pkgname-git
|
||||||
pkgver=1.1.0.29.g6c7f5eb
|
pkgver=1.1.0.30.gc086957
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Companion DNA utility for libAthena"
|
pkgdesc="Companion DNA utility for libAthena"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
|
|
|
@ -52,7 +52,7 @@ class ATDNAEmitVisitor : public clang::RecursiveASTVisitor<ATDNAEmitVisitor>
|
||||||
const clang::BuiltinType* bType = (clang::BuiltinType*)theType;
|
const clang::BuiltinType* bType = (clang::BuiltinType*)theType;
|
||||||
if (bType->isBooleanType())
|
if (bType->isBooleanType())
|
||||||
{
|
{
|
||||||
return "writer.writeBool(" + fieldName + ")";
|
return "writer.writeBool(" + fieldName + ");";
|
||||||
}
|
}
|
||||||
else if (bType->isUnsignedInteger())
|
else if (bType->isUnsignedInteger())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue