diff options
Diffstat (limited to 'ast.go')
-rw-r--r-- | ast.go | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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" { |