ossp-pkg/l2/l2_spec_scan.l 1.2 -> 1.3
--- l2_spec_scan.l 2001/11/07 16:29:56 1.2
+++ l2_spec_scan.l 2001/11/08 09:28:35 1.3
@@ -44,16 +44,18 @@
static int yyinput(l2_spec_ctx_t *ctx, char *buf, int max_size);
%}
+/* scanner options */
%pointer
-/* %option stack */
%option reentrant-bison
%option never-interactive
%option noyywrap
+/* scanner states */
%x str
%%
+ /* local variables */
char caStr[2048];
char *cpStr = NULL;
@@ -136,6 +138,7 @@
%%
+/* buffer-based input routine */
static int yyinput(l2_spec_ctx_t *ctx, char *buf, int max_size)
{
int n;
|
|