зеркало из https://github.com/mozilla/gecko-dev.git
Added regexpwrapper.cpp, and mozilla/js2/src/regexp to the include paths.
This commit is contained in:
Родитель
3e0c32db03
Коммит
1c1a50ef74
|
@ -40,6 +40,7 @@
|
|||
|
||||
#ifdef DEBUG
|
||||
#include "tracer.h"
|
||||
#include "collector.h"
|
||||
#endif
|
||||
|
||||
#if defined(XP_MAC) && !defined(XP_MAC_MPW)
|
||||
|
@ -257,13 +258,17 @@ int main(int argc, char **argv)
|
|||
{
|
||||
using namespace JavaScript;
|
||||
using namespace Shell;
|
||||
|
||||
|
||||
#if defined(XP_MAC) && !defined(XP_MAC_MPW)
|
||||
initConsole("\pJavaScript Shell", "Welcome to DikDik.\n", argc, argv);
|
||||
#else
|
||||
stdOut << "Welcome to DikDik.\n";
|
||||
#endif
|
||||
|
||||
#if DEBUG
|
||||
testCollector();
|
||||
#endif
|
||||
|
||||
try {
|
||||
JSObject *globalObject;
|
||||
Context cx(&globalObject, world, a, Pragma::js2);
|
||||
|
|
Загрузка…
Ссылка в новой задаче