From 9f8ae485c3d6c6d8b7ce038608a08132a655e52a Mon Sep 17 00:00:00 2001 From: Irmen de Jong Date: Mon, 4 Feb 2019 22:04:31 +0100 Subject: [PATCH] fix windows path issue --- compiler/src/prog8/ast/AST.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/src/prog8/ast/AST.kt b/compiler/src/prog8/ast/AST.kt index cd4e37a89..3f2746f1b 100644 --- a/compiler/src/prog8/ast/AST.kt +++ b/compiler/src/prog8/ast/AST.kt @@ -1794,7 +1794,7 @@ fun prog8Parser.ModuleContext.toAst(name: String, isLibrary: Boolean, importedFr private fun ParserRuleContext.toPosition() : Position { val file = if(start.inputStream.sourceName == IntStream.UNKNOWN_SOURCE_NAME) - "" + "@internal@" else File(start.inputStream.sourceName).name // note: be ware of TAB characters in the source text, they count as 1 column...