Code

frontend: Added flex/bison based parser skeleton.
[sysdb.git] / src / tools / sysdb / scanner.l
index 3ec4b04f32f2ce302064866f63b0cd7e15910594..07a941370d9eb5f419674806544d9337f3f21f36 100644 (file)
  */
 
 %{
+
+/*
+ * This is a simplified version of frontend/scanner.l. The only purpose is to
+ * find queries (terminated by semicolon).
+ */
+
 #include "tools/sysdb/input.h"
 
 #ifdef YY_INPUT
@@ -37,6 +43,7 @@
        } while (0)
 
 static sdb_input_t *sdb_input;
+
 %}
 
 %option interactive