Commit e849da18 authored by Dick Hollenbeck's avatar Dick Hollenbeck

add sweet.i and some minor 'using' declarations

parent 2f211c6b
......@@ -33,6 +33,7 @@
//using namespace std; // screws up Doxygen
using namespace SCH;
using namespace LT; // tokens, enum T for LIB_TABLE
LIB_TABLE::LIB_TABLE( LIB_TABLE* aFallBackTable ) :
......
......@@ -29,6 +29,7 @@
#include <sch_lib_table.h>
using namespace SCH;
using namespace PR; // tokens, enum T for SWEET_LEXER
#define MAX_INHERITANCE_NESTING 6 // no problem going larger
......
/**
* Interface Sweet
* is a Python interface file for SWIG. Languages other than Python can
* possibly also be supported with little addtional work.
*/
%module sweet
%{
#include <dsnlexer.h>
#include <sch_lib_table_lexer.h>
#include <sch_lib_table.h>
#include <sch_lpid.h>
#include <sweet_lexer.h>
#include <sch_part.h>
%}
%include "std_string.i"
%include "std_deque.i"
%include "utf8.h"
%ignore LINE_READER::operator char* () const;
%include "richio.h"
%include "dsnlexer.h"
//%include "sch_lib_table_lexer.h"
%include "sch_lpid.h"
%include "sch_lib.h"
%include "sch_lib_table.h"
%include "sweet_lexer.h"
%include "sch_part.h"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment