summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parsebib.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/parsebib.el b/parsebib.el
index 34113db..08fcdb3 100644
--- a/parsebib.el
+++ b/parsebib.el
@@ -47,6 +47,8 @@
(require 'json)
(defvar json-object-type)))
+(define-error 'parsebib-entry-type-error "Illegal entry type" 'error)
+
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; BibTeX / biblatex parser ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@@ -174,8 +176,6 @@ target field is set to the symbol `none'.")
(defconst parsebib--key-regexp "[^\"@\\#%',={} \t\n\f]+" "Regexp describing a licit key.")
(defconst parsebib--entry-start "^[ \t]*@" "Regexp describing the start of an entry.")
-(define-error 'parsebib-entry-type-error "Illegal entry type" 'error)
-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; matching and parsing stuff ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;