Commit e849da18 authored by Dick Hollenbeck's avatar Dick Hollenbeck
Browse files

add sweet.i and some minor 'using' declarations

parent 2f211c6b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 ) :
+1 −0
Original line number Diff line number Diff line
@@ -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

new/sweet.i

0 → 100644
+32 −0
Original line number Diff line number Diff line
/**
 * 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"