 ;;;
-;;; Copyright (C) 2008-2010, Gostai S.A.S.
+;;; Copyright (C) 2008-2011, Gostai S.A.S.
 ;;;
 ;;; This software is provided "as is" without warranty of any kind,
 ;;; either expressed or implied, including but not limited to the


(defconst urbiscript-font-lock-keywords
  (append
   ; functions
   (urbiscript-convert urbiscript-functions-name font-lock-constant-face 2)
   ; keywords

    "function\\(\\s-*\\w+\\s-*\\.\\)*\\s-*\\w+\\s-*(\\([^)]*\\))")
  "List of urbiscript variables name")

;; Interactive answers.  There is no simple way to support multiple
;; lines (for backslash terminated lines).
(defconst urbiscript-response
  '("^\\[\\(?:00.*?\\|:\\)\\].*")
  "Answers from the urbiscript shell")
(defconst urbiscript-error
  '("^\\[\\(?:00.*?\\|:\\)\\] !!!.*")
  "Errors from the urbiscript shell")


;; definition

(defun urbiscript-convert (regexps face &optional nth force)
