Added automatic rewrite to remove const qualifiers occurring before a star.

This commit is contained in:
Tobias Reinhard 2022-11-11 15:37:24 -05:00
parent 49f0dc1f04
commit 0a31349be3

View file

@ -37,7 +37,8 @@ rewrite "__attribute__(([_a-z]*))" ""
rewrite "__attribute__( ( [_a-z]* ) )" "" rewrite "__attribute__( ( [_a-z]* ) )" ""
echo "Removing const qualifiers from pointers" echo "Removing const qualifiers from pointers"
rewrite "* const" "*" rewrite "[*] const" "*"
rewrite "const [*]" "*"
echo "Uncomment special includes to allow VeriFast proofs to refer to config macros" echo "Uncomment special includes to allow VeriFast proofs to refer to config macros"
rewrite "//VF_include #include" "#include" rewrite "//VF_include #include" "#include"