diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
commit | 10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch) | |
tree | 4bc444c00a79e88105f2cfce5b6209994c413ca0 /kjs/internal.cpp | |
parent | 307136d8eef0ba133b78ceee8e901138d4c996a1 (diff) | |
download | tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.tar.gz tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.zip |
Revert automated changes
Sorry guys, they are just not ready for prime time
Work will continue as always
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kjs/internal.cpp')
-rw-r--r-- | kjs/internal.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kjs/internal.cpp b/kjs/internal.cpp index 4e913c508..25f7b6e31 100644 --- a/kjs/internal.cpp +++ b/kjs/internal.cpp @@ -52,7 +52,7 @@ extern int kjsyyparse(); using namespace KJS; namespace KJS { - /* work around some strict tqalignment requirements + /* work around some strict alignment requirements for double variables on some architectures (e.g. PA-RISC) */ typedef union { unsigned char b[8]; double d; } kjs_double_t; @@ -320,7 +320,7 @@ LabelStack &LabelStack::operator=(const LabelStack &other) bool LabelStack::push(const Identifier &id) { - if (id.isEmpty() || tqcontains(id)) + if (id.isEmpty() || contains(id)) return false; StackElem *newtos = new StackElem; @@ -330,7 +330,7 @@ bool LabelStack::push(const Identifier &id) return true; } -bool LabelStack::tqcontains(const Identifier &id) const +bool LabelStack::contains(const Identifier &id) const { if (id.isEmpty()) return true; |