From: Rico Tzschichholz Date: Thu, 15 Apr 2021 14:49:14 +0000 (+0200) Subject: parser: Include INTERR token in source_reference of parsed types X-Git-Tag: 0.53.1~114 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9023a8d971dec66bf05279a060a7c843bc332e82;p=thirdparty%2Fvala.git parser: Include INTERR token in source_reference of parsed types --- diff --git a/vala/valaparser.vala b/vala/valaparser.vala index e85d45e6f..49336c94c 100644 --- a/vala/valaparser.vala +++ b/vala/valaparser.vala @@ -539,6 +539,7 @@ public class Vala.Parser : CodeVisitor { if (!(type is PointerType)) { type.nullable = accept (TokenType.INTERR); + type.source_reference = get_src (begin); } }