xgettext-13 xgettext-14 \
xgettext-appdata-1 \
xgettext-awk-1 xgettext-awk-2 \
- xgettext-c-2 xgettext-c-3 xgettext-c-4 xgettext-c-5 \
+ xgettext-c-2 xgettext-c-3 xgettext-c-4 \
xgettext-c-6 xgettext-c-7 xgettext-c-9 \
xgettext-c-16 xgettext-c-18 \
xgettext-c-24 xgettext-c-25 \
+ xgettext-c-comment-1 \
xgettext-c-escape-1 xgettext-c-escape-2 xgettext-c-escape-3 \
xgettext-c-format-1 xgettext-c-format-2 xgettext-c-format-3 \
xgettext-c-format-4 xgettext-c-format-5 \
# Test C support: comments.
-cat <<EOF > xg-c-5.in.cc
+cat <<EOF > xg-c-comment-1.in.cc
main(){printf(gettext/*puke*/(/*barf*/"Hello, " "World!" "\n")); }
EOF
: ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --no-location --add-comments -d xg-c-5.tmp xg-c-5.in.cc || Exit 1
-LC_ALL=C tr -d '\r' < xg-c-5.tmp.po > xg-c-5.po || Exit 1
+${XGETTEXT} --omit-header --no-location --add-comments -d xg-c-comment-1.tmp xg-c-comment-1.in.cc || Exit 1
+LC_ALL=C tr -d '\r' < xg-c-comment-1.tmp.po > xg-c-comment-1.po || Exit 1
-cat <<EOF > xg-c-5.ok
+cat <<EOF > xg-c-comment-1.ok
#. puke
#. barf
#, c-format
EOF
: ${DIFF=diff}
-${DIFF} xg-c-5.ok xg-c-5.po
+${DIFF} xg-c-comment-1.ok xg-c-comment-1.po
result=$?
exit $result