mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix invalid parsing of line with keyword end tag and comment
* Add error text when size differs * #9845: Remove invalid parsing of data in comment line The line '/ -- 123 123' was parsed incorrectly, and values 123 123 was added to the list of valid values for the keyword.
This commit is contained in:
@@ -193,8 +193,12 @@ bool RifEclipseInputFileTools::openGridFile( const QString& fileName,
|
||||
|
||||
ecl_grid_free( inputGrid );
|
||||
|
||||
QString errorMessages;
|
||||
|
||||
// Import additional keywords as input properties
|
||||
RifEclipseInputPropertyLoader::createInputPropertiesFromKeywords( eclipseCase, objects );
|
||||
RifEclipseInputPropertyLoader::createInputPropertiesFromKeywords( eclipseCase, objects, &errorMessages );
|
||||
|
||||
if ( !errorMessages.isEmpty() ) RiaLogging::error( errorMessages );
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user