Commit 26afefa1 authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter

Fix crash on incremental parsing, patch by Abderrahim Kitouni

2008-08-04  Jürg Billeter  <j@bitron.ch>

	* vala/valatypesymbol.vala:

	Fix crash on incremental parsing, patch by Abderrahim Kitouni

svn path=/trunk/; revision=1732
parent abbf0330
2008-08-04 Jürg Billeter <j@bitron.ch>
* vala/valatypesymbol.vala:
Fix crash on incremental parsing, patch by Abderrahim Kitouni
2008-08-04 Jürg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi:
......
The Vala team would like to thank the following contributors:
Abderrahim Kitouni
Alberto Ruiz
Alexandre Moreira
Ali Sabil
......
......@@ -192,7 +192,8 @@ public abstract class Vala.TypeSymbol : Symbol {
}
public override Gee.List<string> get_cheader_filenames () {
if (cheader_filenames.size == 0) {
// parent_symbol can be null on incremental parsing
if (cheader_filenames.size == 0 && parent_symbol != null) {
/* default to header filenames of the namespace */
foreach (string filename in parent_symbol.get_cheader_filenames ()) {
add_cheader_filename (filename);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment