diff options
author | Gereon Kremer <gereon.kremer@cs.rwth-aachen.de> | 2020-09-02 22:15:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-02 15:15:30 -0500 |
commit | f845c04a147021937f1b0a942ee2080df950cda3 (patch) | |
tree | 4b88acf9730f489904cade66cb3f9fec8969dab7 /src/theory/mkrewriter | |
parent | f9a4549c3dab3cd91f0d9973b24b7891048ed1d9 (diff) |
Remove #line directives from generated files. (#5005)
This PR removes any usage of the #line directive.
We no longer consider it particularly useful, and it obstructs reproducible builds (see #4980).
Fixes #4980.
Diffstat (limited to 'src/theory/mkrewriter')
-rwxr-xr-x | src/theory/mkrewriter | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/theory/mkrewriter b/src/theory/mkrewriter index 3c27f1b53..871927760 100755 --- a/src/theory/mkrewriter +++ b/src/theory/mkrewriter @@ -243,10 +243,6 @@ check_builtin_theory_seen ## output -# generate warnings about incorrect #line annotations in templates -nl -ba -s' ' "$template" | grep '^ *[0-9][0-9]* # *line' | - awk '{OFS="";if($1+1!=$3) print "'"$template"':",$1,": warning: incorrect annotation \"#line ",$3,"\" (it should be \"#line ",($1+1),"\")"}' >&2 - text=$(cat "$template") for var in \ rewriter_includes \ |