updated parser a little, still figuring out why the server process exits early

git-svn-id: svn://anubis/fart/trunk@231 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
Josh Holtrop 2009-04-07 12:42:45 +00:00
parent af4e4d571e
commit 97392f2271
2 changed files with 1 additions and 9 deletions

View File

@ -117,7 +117,7 @@ void connection_thread(distrib::connection_thread_arg_t * arg)
bool done = false; bool done = false;
/* loop listening for messages from the client */ /* loop listening for messages from the client */
for (;;) while (!done)
{ {
int msg_type; int msg_type;
int nread = read(client_socket, &msg_type, sizeof(msg_type)); int nread = read(client_socket, &msg_type, sizeof(msg_type));

View File

@ -347,14 +347,6 @@ shape: plane { $$ = $1; }
| subtract { $$ = $1; } | subtract { $$ = $1; }
; ;
shape_items: /* empty */
| shape_item shape_items {
$$ = new ItemsNode();
$$->addChild($1);
$$->addChildren($2);
}
;
shape_item: material { $$ = $1; } shape_item: material { $$ = $1; }
| material_ref { $$ = $1; } | material_ref { $$ = $1; }
| transform { $$ = $1; } | transform { $$ = $1; }