]> granicus.if.org Git - graphviz/commitdiff
Fix rule for generating exop.h - similar change already committed to old
authorerg <devnull@localhost>
Thu, 13 Jan 2005 23:44:46 +0000 (23:44 +0000)
committererg <devnull@localhost>
Thu, 13 Jan 2005 23:44:46 +0000 (23:44 +0000)
graphviz

lib/expr/Makefile.am

index a27266f37eb4bbda50c1e08a744c36d190988c3c..adebddd6448c61d08d0df84f0c0bbe8b2c99cb14 100644 (file)
@@ -38,7 +38,8 @@ exparse.h: y.output
 
 exop.h: exparse.h
        echo "static const char* exop[] = {" > exop.h
-       @SED@ -e '/^[   ]*#[    ]*define[       ][      ]*[A-Z]/!d' -e 's/^[    ]*#[    ]*define[       ]*\([A-Z0-9_]*\).*/     "\1",/' < exparse.h >> exop.h
+       echo "  \"MINTOKEN\"," >> exop.h
+       $(SED) -e '1,/MINTOKEN/d' -e '/^[       ]*#[    ]*define[       ][      ]*[A-Z]/!d' -e 's/^[    ]*#[    ]*define[       ]*\([A-Z0-9_]*\).*/     "\1",/' < exparse.h >> exop.h
        echo "};" >> exop.h
 
 .3.pdf: