summaryrefslogtreecommitdiff
path: root/mk.sh
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-02-08 18:11:25 -0500
committerJakob Kaivo <jkk@ung.org>2019-02-08 18:11:25 -0500
commitbd49f3dd0f914850fd4243bfc5350d4875bf6e71 (patch)
treec5e807b72c16c9e18e4350f9344a1b21472981c4 /mk.sh
parent716b33a7a9ee156f56fbb70de42a0adfb1e208a5 (diff)
fix TGFN declarations
Diffstat (limited to 'mk.sh')
-rw-r--r--mk.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk.sh b/mk.sh
index 35345bcc..c16f3f7b 100644
--- a/mk.sh
+++ b/mk.sh
@@ -85,9 +85,9 @@ get_declaration () {
;;
TGFN)
- echo "$(grep TGFN $1 | m4 -DTGFN='$1' -DTYPE='double');"
- echo "$(grep TGFN $1 | m4 -DTGFN='$1f' -DTYPE='float');"
- echo "$(grep TGFN $1 | m4 -DTGFN='$1l' -DTYPE='long double');"
+ echo "$(grep 'TGFN.*)$' $1 | m4 -DTGFN='$1' -DTYPE='double');"
+ echo "$(grep 'TGFN.*)$' $1 | m4 -DTGFN='$1f' -DTYPE='float');"
+ echo "$(grep 'TGFN.*)$' $1 | m4 -DTGFN='$1l' -DTYPE='long double');"
;;
*)