summaryrefslogtreecommitdiff
path: root/gentoobrowse-api/service/unpackPqTextArray.h
blob: 246be718cfef723c99b37a3f19ca294ab86e8871 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef JSONFLEXLEXER_H
#define JSONFLEXLEXER_H

#include <portage-models.h>
#ifndef yyFlexLexer
#define yyFlexLexer pqBaseFlexLexer
#include <FlexLexer.h>
#endif

namespace Portage {
	namespace Utils {
		class UnpackPqTextArray : public yyFlexLexer {
			public:
				UnpackPqTextArray(std::istream &, ::Gentoo::StringList & sl);

				int yylex() override;
				void LexerError(const char * msg) override;

			private:
				::Gentoo::StringList & list;
		};
	}
}

#endif