summaryrefslogtreecommitdiff
blob: 75fc2443e56a7df3613a7c2cc450ba705764b094 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
    addOR=nextAddOR;nextAddOR=0
}
/tc.*add/{
    addOR=1
}
/\\$/{
    nextAddOR=addOR;addOR=0
}
{
    printf("%s",$0);
    if (addOR)
	print " || return 1"
    else
	printf "\n"
}