aboutsummaryrefslogtreecommitdiffstats
path: root/ast.go
diff options
context:
space:
mode:
Diffstat (limited to 'ast.go')
-rw-r--r--ast.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/ast.go b/ast.go
index a8a2d8b..05256ff 100644
--- a/ast.go
+++ b/ast.go
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-package main
+package kati
import (
"bytes"
@@ -20,8 +20,6 @@ import (
"strings"
)
-const BootstrapMakefile = "*bootstrap*"
-
type AST interface {
eval(*Evaluator)
show()
@@ -46,7 +44,7 @@ func (ast *AssignAST) eval(ev *Evaluator) {
func (ast *AssignAST) evalRHS(ev *Evaluator, lhs string) Var {
origin := "file"
- if ast.filename == BootstrapMakefile {
+ if ast.filename == bootstrapMakefileName {
origin = "default"
}
if ast.opt == "override" {