pass: add textflags.h if required

Closes #12
This commit is contained in:
Michael McLoughlin
2018-12-31 00:23:15 -08:00
parent 4aaf6bc7ed
commit c62e40f8d2
13 changed files with 43 additions and 25 deletions

4
ast.go
View File

@@ -99,9 +99,7 @@ type File struct {
}
func NewFile() *File {
return &File{
Includes: []string{"textflag.h"},
}
return &File{}
}
func (f *File) AddSection(s Section) {