feat: implement .loc, .file and .func debug directives
This commit is contained in:
@@ -92,6 +92,6 @@ object microWacc {
|
||||
case class Return(expr: Expr)(val pos: Position) extends Stmt
|
||||
|
||||
// Program
|
||||
case class FuncDecl(name: Ident, params: List[Ident], body: Chain[Stmt])
|
||||
case class FuncDecl(name: Ident, params: List[Ident], body: Chain[Stmt])(val pos: Position)
|
||||
case class Program(funcs: Chain[FuncDecl], stmts: Chain[Stmt])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user