From: Andre Noll Date: Fri, 6 Jun 2008 08:43:42 +0000 (+0200) Subject: Error codes must not start with zero. X-Git-Tag: v0.1.0~71 X-Git-Url: http://git.tuebingen.mpg.de/?p=osl.git;a=commitdiff_plain;h=7b6c89298d2367d3bf6f488f74f15aba655f21de;hp=44a209049642de34864d5453564f2af0ca2d1cb2 Error codes must not start with zero. --- diff --git a/Makefile b/Makefile index d2a136c..bcb5cea 100644 --- a/Makefile +++ b/Makefile @@ -126,6 +126,7 @@ $(realname): $(objects) osl_errors.h: errlist sed -e 's/\([A-Z_]*\) .*/ E_OSL_\1/' \ -e '1s/^/enum osl_errors {/1' \ + -e '1s/$$/=1/1' \ -e '$$!s/$$/,/g' \ -e '$$s/$$/};/1' $< > $@