Check-in Number:
|
1270 | |
Date: |
2001-Nov-07 17:30:51 (local)
2001-Nov-07 16:30:51 (UTC) |
User: | rse |
Branch: | |
Comment: |
cleanup and document |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/l2/l2_spec.h 1.1 -> 1.2
--- l2_spec.h 2001/11/07 16:17:09 1.1
+++ l2_spec.h 2001/11/07 16:30:51 1.2
@@ -4,16 +4,14 @@
#include "l2.h"
typedef struct {
- const char *inputptr;
- const char *inputbuf;
- size_t inputlen;
- l2_env_t *env;
- l2_channel_t *ch;
- l2_channel_t *chTmp;
- l2_result_t rv;
- void *yyscan;
+ const char *inputptr; /* input buffer: current reading pointer */
+ const char *inputbuf; /* input buffer: begin of buffer */
+ size_t inputlen; /* input buffer: size of buffer */
+ l2_env_t *env; /* environment for channel create & error remember */
+ l2_channel_t *ch; /* top-level/root/result channel */
+ l2_channel_t *chTmp; /* temporary channel needed in the parser */
+ l2_result_t rv; /* return value */
+ void *yyscan; /* Flex scanner context */
} l2_spec_ctx_t;
-extern int l2_spec_parse(void *);
-
#endif /* __L2_SPEC_H__ */
|
|