Rename noExport -> noGdExport

This commit is contained in:
Ruslan Mustakov 2017-08-09 17:03:48 +07:00
commit e8ea5fbe27

View file

@ -156,7 +156,7 @@ proc parseMethod(meth: NimNode): MethodDecl =
assert(meth.kind in {nnkProcDef, nnkMethodDef}) assert(meth.kind in {nnkProcDef, nnkMethodDef})
let isGdExport = removePragma(meth, "gdExport") let isGdExport = removePragma(meth, "gdExport")
let isNoGodot = (meth.kind != nnkMethodDef and not isGdExport) or let isNoGodot = (meth.kind != nnkMethodDef and not isGdExport) or
removePragma(meth, "noExport") removePragma(meth, "noGdExport")
result = MethodDecl( result = MethodDecl(
name: $meth[0].basename, name: $meth[0].basename,
args: newSeq[VarDecl](), args: newSeq[VarDecl](),