mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5593 Keyword parser : Improve robustness
Skip empty lines. Return if line starting with an letter is detected, this is interpreted as a new keyword.
This commit is contained in:
@@ -246,7 +246,7 @@ TEST( RifEclipseInputFileToolsTest, FaultData )
|
||||
&isStopParsingKeywordDetected,
|
||||
includeStatementAbsolutePathPrefix );
|
||||
|
||||
EXPECT_EQ( (int)1041, keywordContent.size() );
|
||||
EXPECT_EQ( (int)977, keywordContent.size() );
|
||||
|
||||
/*
|
||||
for (const auto& s : keywordContent)
|
||||
|
||||
Reference in New Issue
Block a user