* wesnoth-mode.el (wesnoth-preprocessor-regexp,
commitc3f2670af7c8b092bdeaefadec8c5121880d80c4
authorChris Mann <chris@gnawty.home>
Sat, 4 Oct 2008 01:09:03 +0000 (4 10:39 +0930)
committerChris Mann <chris@gnawty.home>
Sat, 4 Oct 2008 01:09:03 +0000 (4 10:39 +0930)
tree2754546eb0ea2df503560555998a0aec74dfd275
parent74da1d86de86330b1329e4c618d69373ef600bcb
* wesnoth-mode.el (wesnoth-preprocessor-regexp,
  wesnoth-preprocessor-closing-regexp, wesnoth-preprocessor-opening-regexp):
  Modified so that matches affect `match-data'.
  (wesnoth-font-lock-keywords): Prevent array indexes from highlighting as
  tags.
  (wesnoth-element-closing, wesnoth-element-opening, wesnoth-element): Match
  from beginning of line.  Fixes a bug where indentation was not performed
  correctly on preprocessor-statements
  (wesnoth-tags-list): Fixed formatting.
  (wesnoth-insert-missing-closing): Ensure element is inserted separately.
  (wesnoth-indent): Fix a bug where elements to be indented to the beginning
  of the line were not indented at all.
  (wesnoth-within-define): Minor aesthetic clean-up.
  (wesnoth-element-requires, wesnoth-structure-result): New macros for
  structure checking.
  (wesnoth-check-structure): Cleaned up.
wesnoth-mode.el