From be90733062442e3be3b5e9ba42d92a43fe558a5c Mon Sep 17 00:00:00 2001 From: Christoph Schlosser Date: Sat, 24 Feb 2018 10:49:33 +0100 Subject: Adapt error text --- src/Lang/Cpp/CppParser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Lang') diff --git a/src/Lang/Cpp/CppParser.ts b/src/Lang/Cpp/CppParser.ts index c1a0add..4792e14 100644 --- a/src/Lang/Cpp/CppParser.ts +++ b/src/Lang/Cpp/CppParser.ts @@ -301,7 +301,7 @@ export default class CppParser implements ICodeParser { logicalLine += "\n" + nextLineTxt; } - throw new Error("More then 20 lines were gotten from editor and no end of expression was found."); + throw new Error("More than " + linesToGet + " lines were read from editor and no end of expression was found."); } private Tokenize(expression: string): CppToken[] { -- cgit v1.2.3