fix source reference of fields, patch by Daniel Silverstone, fixes bug
authorJuerg Billeter <j@bitron.ch>
Sat, 22 Mar 2008 21:06:45 +0000 (21:06 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Sat, 22 Mar 2008 21:06:45 +0000 (21:06 +0000)
2008-03-22  Juerg Billeter  <j@bitron.ch>

* vala/parser.y: fix source reference of fields,
  patch by Daniel Silverstone, fixes bug 523761

svn path=/trunk/; revision=1149

ChangeLog
vala/parser.y

index c33dcb0..cda8b31 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2008-03-22  Jürg Billeter  <j@bitron.ch>
 
+       * vala/parser.y: fix source reference of fields,
+         patch by Daniel Silverstone, fixes bug 523761
+
+2008-03-22  Jürg Billeter  <j@bitron.ch>
+
        * vala/valascope.vala, vala/valasemanticanalyzer.vala,
          vala/valasymbol.vala: check accessiblity of parameter and return
          types, fixes bug 433290
index 36d8c18..dc1ab85 100644 (file)
@@ -2993,7 +2993,7 @@ field_declaration
          {
                ValaSourceReference *src;
 
-               src = src_com(@5, $1);
+               src = src_com(@6, $1);
 
                if (VALA_IS_UNRESOLVED_TYPE ($5)) {
                        if (vala_data_type_get_is_ref ($5) || vala_data_type_get_is_out ($5)) {