aboutsummaryrefslogblamecommitdiffstats
path: root/tests/lextest.cpp
blob: f918ff722b0126fae565a2a7bcdb706f35281887 (plain) (tree)
1
2
3
4
5
6
7
8
9


                   
                               



                                           
                        

                   
                        

                   
                        

                          
                        



                     
#include <iostream>
#include <rawld.h>

int main(int argc, char **argv)
{
	RawLD::createModule("tmp/lextest");
	RawLD lex("tmp/lextest");

	lex.setKey("b");
	lex << "x";

	lex.setKey("a");
	lex << "x";

	lex.setKey("a");
	lex.deleteEntry();

//	lex.setKey("a");
//	lex << "y";

	lex = BOTTOM;
}