mirror of
https://github.com/irmen/prog8.git
synced 2024-11-23 07:32:10 +00:00
fix windows path issue
This commit is contained in:
parent
3b32fb74f7
commit
9f8ae485c3
@ -1794,7 +1794,7 @@ fun prog8Parser.ModuleContext.toAst(name: String, isLibrary: Boolean, importedFr
|
|||||||
private fun ParserRuleContext.toPosition() : Position {
|
private fun ParserRuleContext.toPosition() : Position {
|
||||||
val file =
|
val file =
|
||||||
if(start.inputStream.sourceName == IntStream.UNKNOWN_SOURCE_NAME)
|
if(start.inputStream.sourceName == IntStream.UNKNOWN_SOURCE_NAME)
|
||||||
"<internal>"
|
"@internal@"
|
||||||
else
|
else
|
||||||
File(start.inputStream.sourceName).name
|
File(start.inputStream.sourceName).name
|
||||||
// note: be ware of TAB characters in the source text, they count as 1 column...
|
// note: be ware of TAB characters in the source text, they count as 1 column...
|
||||||
|
Loading…
Reference in New Issue
Block a user