summaryrefslogtreecommitdiff
path: root/src/parse/types.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse/types.cpp')
-rw-r--r--src/parse/types.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse/types.cpp b/src/parse/types.cpp
index 905bd935..ff993693 100644
--- a/src/parse/types.cpp
+++ b/src/parse/types.cpp
@@ -218,7 +218,7 @@ TypeRef Parse_Type_Fn(TokenStream& lex, ::std::vector<::std::string> hrls)
if( GET_TOK(tok, lex) == TOK_STRING ) {
abi = tok.str();
if( abi == "" )
- ERROR(lex.getPosition(), E0000, "Empty ABI");
+ ERROR(lex.point_span(), E0000, "Empty ABI");
GET_TOK(tok, lex);
}
else {