Unbroke loading old lang files
parent
566a11fcbe
commit
9190d9faab
|
@ -6142,7 +6142,7 @@ _gtk_source_context_data_finish_parse (GtkSourceContextData *ctx_data,
|
|||
struct ResolveRefData data;
|
||||
|
||||
g_return_val_if_fail (ctx_data != NULL, FALSE);
|
||||
g_return_val_if_fail (error != NULL && *error == NULL, FALSE);
|
||||
g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
|
||||
|
||||
while (overrides != NULL)
|
||||
{
|
||||
|
|
|
@ -777,6 +777,7 @@ _gtk_source_language_file_parse_version1 (GtkSourceLanguage *language,
|
|||
if (esc_char != 0)
|
||||
_gtk_source_context_data_set_escape_char (ctx_data, esc_char);
|
||||
|
||||
_gtk_source_context_data_finish_parse (ctx_data, NULL, NULL);
|
||||
_gtk_source_language_define_language_styles (language);
|
||||
|
||||
xmlFreeDoc (doc);
|
||||
|
|
Loading…
Reference in New Issue