Xshogi: build scanner separately from parser.
[gnushogi.git] / xshogi / scanner.l
index ff3cb1f..92ec42f 100644 (file)
  * ------------------------------------------------------------------------
  *
  */
-static int lines = 1, cols = 1;
+
+#include "parser.h"
+
+extern int lines, cols;
+
 %}
 
 PIECE   [PLNSGBRK]