Skip to content

Commit 977220f

Browse files
Limit maxsize to 1000 tokens (#320)
1 parent b5d1112 commit 977220f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

simplecpp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ namespace simplecpp {
294294
std::string readUntil(Stream &stream, const Location &location, char start, char end, OutputList *outputList);
295295
void lineDirective(unsigned int fileIndex, unsigned int line, Location *location);
296296

297-
std::string lastLine(int maxsize=100000) const;
297+
std::string lastLine(int maxsize=1000) const;
298298
bool isLastLinePreprocessor(int maxsize=100000) const;
299299

300300
unsigned int fileIndex(const std::string &filename);

0 commit comments

Comments
 (0)