1# img.sed - used by "Makefile.am" to create "buggy.h" 2# Copyright 1999 Jochen Voss 3# $Id: img.sed,v 1.3 1999/06/25 23:14:04 voss Rel $ 4 5# initialisation 61 { 7 i\ 8/* buggy.h - the image data for "buggy.c"\ 9 * Automatically created from file "car.img".\ 10 * DO NOT EDIT !!! */\ 11\ 12static char *image[][2] = { 13 x 14 s/^.*$/ / 15 x 16} 17 18# closing brackets for the images 191, /^[A-Z0-9]*:/ b ishead 20/^[A-Z0-9]*:/ i\ 21 }, 22: ishead 23 24# headers 25/^[A-Z0-9]*:/ { 26 s/\([A-Z0-9]*\):/car_\1, / 27 H 28 x 29 s/\n// 30 x 31 i\ 32 { 33} 34 35# images 36/^|.*|/ s/|\(.*\)|/ "\1",/p 37 38# end 39$ { 40 i\ 41 },\ 42};\ 43\ 44enum car_state { 45 x 46 p 47 i\ 48}; 49} 50