Grammar: Fixd bug with missing file error message

This commit is contained in:
Paul Beckingham 2015-12-21 00:15:34 -05:00
parent 8991a3c87b
commit 25a6dd4920

View file

@ -45,7 +45,7 @@ void Grammar::loadFromFile (File& file)
loadFromString (contents);
}
else
throw format ("Grammar file '{0}'not found.", static_cast<std::string> (file));
throw format ("Grammar file '{1}' not found.", static_cast<std::string> (file));
}
////////////////////////////////////////////////////////////////////////////////