From 7897026e575a4abd44583cd453b8d36cac96327e Mon Sep 17 00:00:00 2001 From: alaviss Date: Mon, 7 May 2018 12:30:13 +0700 Subject: [PATCH] pretty, prettybase: simplify relative paths (#7779) This allows nimble to be built with compiler as a nimble package --- compiler/nimfix/pretty.nim | 2 +- compiler/nimfix/prettybase.nim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/nimfix/pretty.nim b/compiler/nimfix/pretty.nim index 4627264dc4..7af2a86dce 100644 --- a/compiler/nimfix/pretty.nim +++ b/compiler/nimfix/pretty.nim @@ -13,7 +13,7 @@ import strutils, os, intsets, strtabs -import "../compiler" / [options, ast, astalgo, msgs, semdata, ropes, idents] +import ".." / [options, ast, astalgo, msgs, semdata, ropes, idents] import prettybase type diff --git a/compiler/nimfix/prettybase.nim b/compiler/nimfix/prettybase.nim index ecb4b00931..c32dbe623f 100644 --- a/compiler/nimfix/prettybase.nim +++ b/compiler/nimfix/prettybase.nim @@ -8,7 +8,7 @@ # import strutils, lexbase, streams -import "../compiler" / [ast, msgs, idents] +import ".." / [ast, msgs, idents] from os import splitFile type