[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [E-devel] Engrave will not compile .... patched.



Fixed, thanx.

It appears that bison BSD is less forgiving about missing semicolons, cause
mine didn't complain about it, that's why I never spotted it.


On 12/31/06, Ravenlock <ravenlock@comcast.net> wrote:

Patch attached to allow engrave to compile on my system.  No idea if
this is a FreeBSD issue or not.  Someone hinted it might be.

--
Regards,
   Ravenlock


Index: e17/libs/engrave/src/lib/engrave.y
===================================================================
RCS file: /var/cvs/e/e17/libs/engrave/src/lib/engrave.y,v
retrieving revision 1.20
diff -u -r1.20 engrave.y
--- e17/libs/engrave/src/lib/engrave.y  30 Dec 2006 08:49:27 -0000
1.20
+++ e17/libs/engrave/src/lib/engrave.y  31 Dec 2006 22:05:21 -0000
@@ -657,7 +657,8 @@
        ;

gradient: GRAD OPEN_BRACE {section = GRAD;} grad_statement CLOSE_BRACE
semicolon_maybe { section = STATE;}
-
+        ;
+
grad_statement: /* empty */
        | grad_spectrum grad_statement
        | grad_type grad_statement
@@ -997,5 +998,3 @@
                 engrave_cur_file, engrave_lnum, engrave_col);
        exit(-1);
}
-
-


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel





--
Chady 'Leviathan' Kassouf
http://chady.net/