From 6cd89aba08cca53cc6888f6109edb7119907438e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciar=C3=A1n=20O=27Mara?= Date: Sat, 7 Sep 2019 21:47:00 +1000 Subject: [PATCH] Move isinteractive into machine --- src/sam/readrecord.jl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/sam/readrecord.jl b/src/sam/readrecord.jl index 0f1811a..1cb27d5 100644 --- a/src/sam/readrecord.jl +++ b/src/sam/readrecord.jl @@ -173,8 +173,10 @@ end # file = header . body # header = metainfo* # body = record* -isinteractive() && info("compiling SAM") const sam_metainfo_machine, sam_record_machine, sam_header_machine, sam_body_machine = (function () + + isinteractive() && info("compiling SAM") + cat = Automa.RegExp.cat rep = Automa.RegExp.rep alt = Automa.RegExp.alt