Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

lang: LanguageConfig - recompiling the class library should re-read c…

…onfig file

Signed-off-by: Tim Blechmann <tim@klingt.org>
  • Loading branch information...
commit c2bfc3c88d292644ed17ec2966f848969f32b1a8 1 parent b88d11a
@timblechmann timblechmann authored
View
2  HelpSource/Classes/LanguageConfig.schelp
@@ -28,7 +28,7 @@ subsection:: Library Path Handling
The language configuration mechanism provides a way to add or exclude specific paths for the class library.
-note::Changes to the class library paths won't have any effect before recompiling the class library.::
+note::Changes to the class library paths won't have any effect before the configuration file is stored and the class library is recompiled.::
METHOD:: includePaths
Return the class library include paths.
View
4 lang/LangSource/PyrLexer.cpp
@@ -2117,9 +2117,7 @@ SC_DLLEXPORT_C bool compileLibrary()
gNumCompiledFiles = 0;
compiledOK = false;
- // FIXME: the library config should have been initialized earlier!
- if (!gLanguageConfig)
- SC_LanguageConfig::readDefaultLibraryConfig();
+ SC_LanguageConfig::readDefaultLibraryConfig();
compileStartTime = elapsedTime();
Please sign in to comment.
Something went wrong with that request. Please try again.