diff options
author | Jamie McCracken <jamiemcc gnome org> | 2009-04-13 11:55:50 -0400 |
---|---|---|
committer | Jamie McCracken <jamiemcc gnome org> | 2009-04-13 11:55:50 -0400 |
commit | 296447f2bd404492bef4317c71b6dc59e4d7a977 (patch) | |
tree | 3c44122960c26f149e1a2627215ba028a11625e9 /vala/valagenieparser.vala | |
parent | 7e13e08068d2f4649b142523bf92651212580a0a (diff) | |
download | vala-296447f2bd404492bef4317c71b6dc59e4d7a977.tar.gz |
Added missing source reference to Genie parser
Diffstat (limited to 'vala/valagenieparser.vala')
-rw-r--r-- | vala/valagenieparser.vala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vala/valagenieparser.vala b/vala/valagenieparser.vala index 55dcaad7f..653320a14 100644 --- a/vala/valagenieparser.vala +++ b/vala/valagenieparser.vala @@ -3116,9 +3116,10 @@ public class Vala.Genie.Parser : CodeVisitor { break; } var code_attrs = parse_attributes (); + var code_begin = get_location (); string id = parse_identifier (); - var ec = new ErrorCode (id); + var ec = new ErrorCode (id, get_src (code_begin)); set_attributes (ec, code_attrs); if (accept (TokenType.ASSIGN)) { ec.value = parse_expression (); |