aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lextest.cpp
blob: 403bbced99a9997090a14d50cb410e4aa5363d6a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <iostream>
#include <rawld.h>

void 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;
}