Hi,
first I like to thank you for this very useful software. I
do not want to use pynfs for NFS, but for my own RPC-based
stuff. Now, unfortunately, I have a small problem with
rpcgen.py from CVS of two days ago:
/* int_string.x -*- c -*- */
struct intstruct {
int foo; /* OK */
int bar; /* 1st error */
};
program INT_STRING_PROGRAM {
version INT_STRING_VERSION {
void STRING_ARG(string) = 1; /* 2nd error */
} = 1;
} = 0x4f000000;
/* Output of rpcgen.py:
Input file is int_string.x
Writing constants to int_stringconstants.py
Writing type classes to int_stringtypes.py
Writing packer classes to int_stringpacker.py
Syntax error at 'int' (lineno 5)
Syntax error at 'string' (lineno 10) */
I haven't used yacc/lex or better bison/flex for some time,
and never used PLY. Therefore, I was not able to solve the
parsing problem. Maybe someone else has an idea?
Many thanks in advance!
Cheers!