aboutsummaryrefslogtreecommitdiff
path: root/aidl_language_y.yy
diff options
context:
space:
mode:
Diffstat (limited to 'aidl_language_y.yy')
-rw-r--r--aidl_language_y.yy2
1 files changed, 1 insertions, 1 deletions
diff --git a/aidl_language_y.yy b/aidl_language_y.yy
index 67a7b11b..3a1fda93 100644
--- a/aidl_language_y.yy
+++ b/aidl_language_y.yy
@@ -39,7 +39,7 @@ AidlLocation loc(const yy::parser::location_type& begin, const yy::parser::locat
.line = end.end.line,
.column = end.end.column,
};
- return AidlLocation(*begin.begin.filename, begin_point, end_point);
+ return AidlLocation(*begin.begin.filename, begin_point, end_point, AidlLocation::Source::EXTERNAL);
}
AidlLocation loc(const yy::parser::location_type& l) {