This prints [1]. I consider it a bug:
#include <iostream>
#include <rawld.h>
void main(int argc, char **argv)
{
RawLD::createModule("tmp/lextest");
RawLD lex("tmp/lextest");
lex.setKey("1");
lex << "[1]";
lex.setKey("2");
lex << "[2]";
lex.setKey("2");
std::cout << lex.getRawEntry() << std::endl;
}
--
Victor Porton (porton@ex-code.com)