summary refs log tree commit diff stats
path: root/compiler/sigmatch.nim
Commit message (Expand)AuthorAgeFilesLines
* Fix #5084Zahary Karadjov2017-06-201-3/+6
* Fix #4737Zahary Karadjov2017-06-201-3/+6
* Fix #5127Zahary Karadjov2017-06-201-5/+6
* fix #1017; fix #3309Zahary Karadjov2017-06-201-0/+6
* fix #2730; fix #4880Zahary Karadjov2017-06-201-0/+7
* fix #5017; fix #5893Zahary Karadjov2017-06-201-1/+3
* fix #5864Zahary Karadjov2017-06-201-0/+2
* add a useful helper for debugging typeRel problemsZahary Karadjov2017-06-201-4/+26
* introduce a pre-processing pass for the concept bodiesZahary Karadjov2017-06-201-36/+22
* fix #5890Zahary Karadjov2017-06-201-1/+2
* cleanup of in/out covariance handlingAndreas Rumpf2017-05-171-6/+6
* enforce the covariance rules for user-defined generic typesZahary Karadjov2017-
#!/bin/sh

format_table() {
	first_row=""
	table_lines=""
	while read line
	do	first_row="$first_row$line"
		if test "$line" = "</tr>"
		then	break
		fi
	done
	while read line
	do	if test "$line" = "</table>"
		then	break
		fi
		table_lines="$table_lines $line"
	done
	printf '%s' "$first_row" | sed \
		-e 's/<tr>/|/g' \
		-e 's/<\/tr>/|\n/g' \
		-e 's/<\/t[hd]> *<t[hd]>/|/g' \
		-e 's/<\/\?t[hd]>//g' \
		-e 's/^ *//g;s/ *$//g'
	printf '%s\n'