1
0
Fork 0
mirror of git://git.psyced.org/git/psyced synced 2024-08-15 03:25:10 +00:00

spyc: use libpsyc for parsing & rendering

This commit is contained in:
Gabor Adam Toth 2011-05-23 01:33:12 +02:00
parent a21b0024ef
commit ffabd7af08
12 changed files with 343 additions and 242 deletions

View file

@ -2,9 +2,10 @@
// $Id: udp.c,v 1.7 2008/07/17 15:07:59 lynx Exp $
#include "psyc.h"
#include "../psyc/udp.c"
#if 0 // first we get the syntax running, then we'll think of new features:
#ifdef USE_PSYC
# include "../psyc/udp.c"
#else
#include <net.h>
#include <uniform.h>
@ -13,6 +14,7 @@
inherit NET_PATH "spyc/parse";
string netloc;
mapping instate;
object load() { return ME; } // avoid a find_object call in obj/master
@ -41,4 +43,4 @@ parseUDP(ip, port, msg) {
#define PSYC_UDP
#include "dispatch.i"
#endif // 0
#endif // USE_PSYC