}
top_srcdir = $(TOP) ;
+# unset some stuff defined in Jambase
+LEX = ;
+
JAMCONFIG ?= $(top_builddir)/Jamconfig ;
include $(JAMCONFIG) ;
if ! $(JAMCONFIG_READ)
actions MiniSwig bind headerfile
{
$(CPP) -x c $(CPPFLAGS) $(>) -o $(LOCATE_OBJECTS)/miniswig.tmp
- $(MINISWIG) --output-cpp $(<) --input $(LOCATE_OBJECTS)/miniswig.tmp --output-hpp $(headerfile) --module $(modulename) $(FLAGS)
-# rm -f $(LOCATE_OBJECTS)/miniswig.tmp
+ ./miniswig --output-cpp $(<) --input $(LOCATE_OBJECTS)/miniswig.tmp --output-hpp $(headerfile) --module $(modulename) $(FLAGS)
+# rm -f $(LOCATE_OBJECTS)/miniswig.tmp
}
}
* WARNING: This file is automatically generated from './build/i686-pc-linux-gnu/debug/miniswig.tmp' - do not change
*/
+#include <config.h>
#include <new>
+#include <assert.h>
#include <string>
#include <squirrel.h>
-#include <assert.h>
#include "wrapper_util.h"
#include "wrapper.interface.h"
case TK_MULEQ: oper = '*'; break;
case TK_DIVEQ: oper = '/'; break;
case TK_MODEQ: oper = '%'; break;
- default: assert(0); break;
+ default: oper = 0; assert(0); break;
};
if(deref) {
int val = _fs->PopTarget();
case _SC('/'): mm=MT_DIV; break;
case _SC('*'): mm=MT_MUL; break;
case _SC('%'): mm=MT_MODULO; break;
+ default: mm=MT_ADD; assert(0); break;
}
if(is_delegable(o1) && _delegable(o1)->_delegate) {
Push(o1);Push(o2);
<< inputfile << "' - do not change\n"
<< " */\n"
<< "\n"
+ << "#include <config.h>\n"
<< "#include <new>\n"
+ << "#include <assert.h>\n"
<< "#include <string>\n"
<< "#include <squirrel.h>\n"
<< "#include \"wrapper_util.h\"\n"
#include <iostream>
#include <sstream>
#include <stdexcept>
+#include <assert.h>
class Namespace;