diff options
Diffstat (limited to 'libbuild2/parser.cxx')
-rw-r--r-- | libbuild2/parser.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libbuild2/parser.cxx b/libbuild2/parser.cxx index ff32340..7a4efcd 100644 --- a/libbuild2/parser.cxx +++ b/libbuild2/parser.cxx @@ -1131,6 +1131,8 @@ namespace build2 auto* asr (new adhoc_script_rule (move (diag), loc, st.value.size ())); ar.reset (asr); + asr->checksum = sha256 (t.value).string (); + istringstream is (move (t.value)); build::script::parser p (ctx); asr->script = p.pre_parse (is, asr->loc.file, loc.line + 1); |