diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-07 22:21:31 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-07 22:21:31 -0600 |
commit | 06227c5420ce8eeef7bd44406a395188c61e1703 (patch) | |
tree | c18c25b31413479e63fec92f61067b95759fc3b0 /kjs/internal.cpp | |
parent | ce5d3d7fd554b9832a69350cffa8d79c5002753e (diff) | |
parent | 70d7c59d2ac9ad3718f92a20c07937d3b6cfb928 (diff) | |
download | tdelibs-06227c5420ce8eeef7bd44406a395188c61e1703.tar.gz tdelibs-06227c5420ce8eeef7bd44406a395188c61e1703.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tdelibs
Diffstat (limited to 'kjs/internal.cpp')
-rw-r--r-- | kjs/internal.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kjs/internal.cpp b/kjs/internal.cpp index 25f7b6e31..3ab0b9de2 100644 --- a/kjs/internal.cpp +++ b/kjs/internal.cpp @@ -503,16 +503,16 @@ FunctionBodyNode *Parser::parse(const UChar *code, unsigned int length, SourceCo if (errMsg) *errMsg = "Parse error at line " + UString::from(eline); #ifdef KJS_VERBOSE - fprintf( stderr, "%s\n", UString(code,length).ascii() ); + fprintf( stderr, "[kjs-internal] %s\n", UString(code,length).ascii() ); #endif #ifndef NDEBUG - fprintf(stderr, "KJS: JavaScript parse error at line %d.\n", eline); + fprintf( stderr, "[kjs-internal] KJS: JavaScript parse error at line %d.\n", eline); #endif delete prog; return 0; } #ifdef KJS_VERBOSE - fprintf( stderr, "%s\n", prog->toCode().ascii() ); + fprintf( stderr, "[kjs-internal] %s\n", prog->toCode().ascii() ); #endif return prog; @@ -524,7 +524,7 @@ InterpreterImp* InterpreterImp::s_hook = 0L; void InterpreterImp::globalInit() { - //fprintf( stderr, "InterpreterImp::globalInit()\n" ); + //fprintf( stderr, "[kjs-internal] InterpreterImp::globalInit()\n" ); UndefinedImp::staticUndefined = new UndefinedImp(); UndefinedImp::staticUndefined->ref(); NullImp::staticNull = new NullImp(); @@ -539,7 +539,7 @@ void InterpreterImp::globalInit() void InterpreterImp::globalClear() { - //fprintf( stderr, "InterpreterImp::globalClear()\n" ); + //fprintf( stderr, "[kjs-internal] InterpreterImp::globalClear()\n" ); UndefinedImp::staticUndefined->deref(); UndefinedImp::staticUndefined->setGcAllowed(); UndefinedImp::staticUndefined = 0L; @@ -783,7 +783,7 @@ void InterpreterImp::mark() BooleanImp::staticTrue->mark(); if (BooleanImp::staticFalse && !BooleanImp::staticFalse->marked()) BooleanImp::staticFalse->mark(); - //fprintf( stderr, "InterpreterImp::mark this=%p global.imp()=%p\n", this, global.imp() ); + //fprintf( stderr, "[kjs-internal] InterpreterImp::mark this=%p global.imp()=%p\n", this, global.imp() ); if (global.imp()) global.imp()->mark(); if (m_interpreter) |