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:
parent
af4e4d571e
commit
97392f2271
@ -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));
|
||||||
|
@ -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; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user