summaryrefslogtreecommitdiff
path: root/dviware/quicspool/libqmsquery/qmsovllex.l
diff options
context:
space:
mode:
Diffstat (limited to 'dviware/quicspool/libqmsquery/qmsovllex.l')
-rw-r--r--dviware/quicspool/libqmsquery/qmsovllex.l29
1 files changed, 29 insertions, 0 deletions
diff --git a/dviware/quicspool/libqmsquery/qmsovllex.l b/dviware/quicspool/libqmsquery/qmsovllex.l
new file mode 100644
index 0000000000..ab485be5de
--- /dev/null
+++ b/dviware/quicspool/libqmsquery/qmsovllex.l
@@ -0,0 +1,29 @@
+/* $Header: qmsovllex.l,v 1.1 88/01/15 12:19:16 simpson Rel $
+%{
+/*
+$Log: qmsovllex.l,v $
+ * Revision 1.1 88/01/15 12:19:16 simpson
+ * initial release
+ *
+ * Revision 0.1 87/12/11 21:34:47 simpson
+ * beta test
+ *
+*/
+#undef input
+#define input() (((yytchar=yysptr>yysbuf?U(*--yysptr):timedgetc(_Ifp)) \
+ ==10?(yylineno++, yytchar):yytchar)==EOF?0:yytchar)
+%}
+integer [0-9]+
+%%
+OVL: return OVL;
+S{integer} {
+ yylval = atoi(&yytext[1]);
+ return SPACE;
+ }
+{integer} {
+ yylval = atoi(yytext);
+ return INTEGER;
+ }
+"Automatic Page" return AUTOPAGE;
+NONE return NONE;
+\r\n return ENDLINE;