From a68a3c91357209061902fb850de57d4807d1f538 Mon Sep 17 00:00:00 2001 From: simon Date: Tue, 27 Dec 2016 15:53:29 +0000 Subject: [PATCH] Revert to using 'core' parser rather than new declarative parser, which still has bugs. --- src/mw_parser/bulk.clj | 2 +- test/mw_parser/bulk_test.clj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mw_parser/bulk.clj b/src/mw_parser/bulk.clj index 45540e8..2dfa6c4 100644 --- a/src/mw_parser/bulk.clj +++ b/src/mw_parser/bulk.clj @@ -1,7 +1,7 @@ (ns ^{:doc "parse multiple rules from a stream, possibly a file." :author "Simon Brooke"} mw-parser.bulk - (:use mw-parser.declarative + (:use mw-parser.core mw-engine.utils clojure.java.io [clojure.string :only [split trim]]) diff --git a/test/mw_parser/bulk_test.clj b/test/mw_parser/bulk_test.clj index 1155361..cc7bcfa 100644 --- a/test/mw_parser/bulk_test.clj +++ b/test/mw_parser/bulk_test.clj @@ -8,7 +8,7 @@ (is (= (count (parse-file (as-file "resources/rules.txt"))) 15) "Should parse all rules and throw no exceptions") (is (empty? - (remove #(= % ':RULE) + (remove #(= % 'fn) (map first (parse-file (as-file "resources/rules.txt")))))