Internals: Split V3Error into V3FileLine. No functional change.

This commit is contained in:
Wilson Snyder
2014-11-22 11:48:39 -05:00
parent 87a47a5ca0
commit 6da13c6486
20 changed files with 497 additions and 418 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ void V3ParseImp::parseFile(FileLine* fileline, const string& modfilename, bool i
// of this source file is updated here, in case there have been any
// intervening +<lang>ext+ options since it was first ecountered.
FileLine *modfileline = new FileLine (modfilename, 0);
modfileline->updateLanguage();
modfileline->language(v3Global.opt.fileLanguage(modfilename));
ppPushText((string)"`begin_keywords \""+modfileline->language().ascii()+"\"\n");
}