generator fix

This commit is contained in:
Jack Andersen 2015-06-17 21:37:04 -10:00
parent c08695709e
commit d6a489753d
2 changed files with 2 additions and 2 deletions

View File

@ -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')

View File

@ -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())
{ {