#!/bin/sh -e# Patch lemon.c and lempar.c to silence static analyzer warnings.# See also tools/lemon/README# Strip trailing whitespace
sed -e 's/ \+$//' -i lemon.c lempar.c
# Other patchesfor i in patches/*.patch;doecho"Applying $i"
patch --silent -p1 -i "$i"doneecho DONE