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

@ -23,16 +23,17 @@
* the first byte.
*/
#ifndef SPYC
# define SPYC
#define SPYC
# include <psyc.h>
#include <psyc.h>
#ifndef USE_PSYC
#if __EFUN_DEFINED__(psyc_parse)
# define LIBPSYC
# include <sys/libpsyc.h>
#endif
// EOF
#if 0 // first we get the syntax running, then we'll think of new features:
#define PSYCPARSE_STATE_HEADER 0
#define PSYCPARSE_STATE_CONTENT 1
#define PSYCPARSE_STATE_BLOCKED 2
@ -45,4 +46,4 @@
return; \
}
#endif // 0
#endif // USE_PSYC