summaryrefslogtreecommitdiff
path: root/lisp/modules/indent.lsp
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-03-11 21:50:13 -0300
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-07-02 19:06:21 -0300
commit3468f9f2cb65294771e1095a14b7263ae0a6a043 (patch)
tree67614f274b68b36a9d5c1ee202211aac6941255c /lisp/modules/indent.lsp
parent371c42ab955357d586cf4501762f6e9cf1be53b8 (diff)
Update syntax highlight table and some minor tweaks including:
o Don't cause an warning due to an unused variable after macro expansion in some indentation tables. o Properly handle c++ style comments in preprocessor lines. Also highlight strings and character constants. o Change color of "quote" property in lisp mode. This is mainly due to an undesirable side effect of using the same XrmQuark in different syntax highlight definitions, causing the first one to be used, and later defined ones to be ignored.
Diffstat (limited to 'lisp/modules/indent.lsp')
-rw-r--r--lisp/modules/indent.lsp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/modules/indent.lsp b/lisp/modules/indent.lsp
index 6fd32a9..1ba8b72 100644
--- a/lisp/modules/indent.lsp
+++ b/lisp/modules/indent.lsp
@@ -1038,6 +1038,12 @@
;; Initial input already read
(go :ind-loop)
+ ;; Just to avoid a warning about unused variable, as this
+ ;; variable is somewhat redundant as code should already
+ ;; know before entering indent parser, but useful inside
+ ;; indent macros.
+ *ind-point*
+
;------------------------------------------------------------------------
; Read a text line
:ind-read