Browse Source

comments in the model are now also allowed

tempestpy_adaptions
Sebastian Junges 5 years ago
parent
commit
65fab09931
  1. 3
      src/storm-parsers/parser/DirectEncodingParser.cpp

3
src/storm-parsers/parser/DirectEncodingParser.cpp

@ -168,6 +168,9 @@ namespace storm {
bool firstState = true; bool firstState = true;
bool firstActionForState = true; bool firstActionForState = true;
while (storm::utility::getline(file, line)) { while (storm::utility::getline(file, line)) {
if (boost::starts_with(line, "//")) {
continue;
}
STORM_LOG_TRACE("Parsing: " << line); STORM_LOG_TRACE("Parsing: " << line);
if (boost::starts_with(line, "state ")) { if (boost::starts_with(line, "state ")) {
// New state // New state

Loading…
Cancel
Save