10 STEXI*|ETEXI*|SRST*|ERST*) flag=$(($flag^1))
13 test $flag -eq 1 && printf "%s\n" "$str"
21 if test "$*" != ""; then
23 printf "@subsection %s\n" "${title%:}"
37 if test $rstflag -eq 1 ; then
38 printf "line %d: syntax error: expected ERST, found '%s'\n" "$line" "$str" >&2
41 if test $flag -eq 1 ; then
42 printf "line %d: syntax error: expected ETEXI, found '%s'\n" "$line" "$str" >&2
48 if test $rstflag -eq 1 ; then
49 printf "line %d: syntax error: expected ERST, found '%s'\n" "$line" "$str" >&2
52 if test $flag -ne 1 ; then
53 printf "line %d: syntax error: expected STEXI, found '%s'\n" "$line" "$str" >&2
59 if test $rstflag -eq 1 ; then
60 printf "line %d: syntax error: expected ERST, found '%s'\n" "$line" "$str" >&2
63 if test $flag -eq 1 ; then
64 printf "line %d: syntax error: expected ETEXI, found '%s'\n" "$line" "$str" >&2
70 if test $flag -eq 1 ; then
71 printf "line %d: syntax error: expected ETEXI, found '%s'\n" "$line" "$str" >&2
74 if test $rstflag -ne 1 ; then
75 printf "line %d: syntax error: expected SRST, found '%s'\n" "$line" "$str" >&2
81 print_texi_heading "$(expr "$str" : "DEFHEADING(\(.*\))")"
84 print_texi_heading "$(expr "$str" : "ARCHHEADING(\(.*\),.*)")"
87 test $flag -eq 1 && printf '%s\n' "$str"