 
 ;; Copyright (C) DIKU, University of Copenhagen
 ;;   Written by Troels Henriksen (athas@sigkill.dk) in 2013.
+;;   Improved by Niels G. W. Serup (ngws@metanohi.name) in 2014.
 
 ;;; Commentary:
-;; This mode provides syntax highlighting and (broken) automatic
-;; indentation for L0 source files.  There is sadly yet no automatic
-;; recompilation or interactive environment, mostly because there is
-;; no l0ci yet.  Change keybindings in `l0-mode-map` and add hooks to
+;; This mode provides syntax highlighting and automatic indentation
+;; for L0 source files.  There is sadly yet no automatic recompilation
+;; or interactive environment, mostly because there is no l0ci yet.
+;; Change keybindings in `l0-mode-map` and add hooks to
 ;; `l0-mode-hook`.
 ;;
 ;; Provided this file is loaded, l0-mode is automatically engaged when

    st)
  "Syntax table used in `l0-mode'.")

(define-derived-mode l0-mode fundamental-mode "L0"
  "Major mode for editing L0 source files."
  :syntax-table l0-mode-syntax-table

(defvar l0-font-lock-keywords l0-font-lock-keywords-2
  "Default highlighting expressions for L0 mode.")

(defvar l0-mode-syntax-table
  (let ((st (make-syntax-table)))
    ;; Define the // line comment syntax.
