vala r1732 - in trunk: . vala
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r1732 - in trunk: . vala
- Date: Mon, 4 Aug 2008 20:06:32 +0000 (UTC)
Author: juergbi
Date: Mon Aug 4 20:06:31 2008
New Revision: 1732
URL: http://svn.gnome.org/viewvc/vala?rev=1732&view=rev
Log:
2008-08-04 JÃrg Billeter <j bitron ch>
* vala/valatypesymbol.vala:
Fix crash on incremental parsing, patch by Abderrahim Kitouni
Modified:
trunk/ChangeLog
trunk/THANKS
trunk/vala/valatypesymbol.vala
Modified: trunk/THANKS
==============================================================================
--- trunk/THANKS (original)
+++ trunk/THANKS Mon Aug 4 20:06:31 2008
@@ -1,5 +1,6 @@
The Vala team would like to thank the following contributors:
+Abderrahim Kitouni
Alberto Ruiz
Alexandre Moreira
Ali Sabil
Modified: trunk/vala/valatypesymbol.vala
==============================================================================
--- trunk/vala/valatypesymbol.vala (original)
+++ trunk/vala/valatypesymbol.vala Mon Aug 4 20:06:31 2008
@@ -192,7 +192,8 @@
}
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]