summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2021-04-15 16:49:14 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2021-04-28 08:44:25 +0200
commitd393dd589a38b79b5386a174eefb6cce46b68a50 (patch)
treed23e5702e3acf1be10b9f832b4f51c6cb76f834e
parent9ee5fbf4f00c8ea5c2dc3e0b9aff453b4ec09fef (diff)
downloadvala-d393dd589a38b79b5386a174eefb6cce46b68a50.tar.gz
parser: Include INTERR token in source_reference of parsed types
-rw-r--r--vala/valaparser.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/vala/valaparser.vala b/vala/valaparser.vala
index 41cd47698..ef1ba339d 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);
}
}