* 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.