From a70e58fceb3de4de3f811d358b65872b742205ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20M=C3=BCller?= Date: Thu, 30 Sep 2010 14:56:18 +0200 Subject: [PATCH] - Updated some comments --- pret-pas.lua | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pret-pas.lua b/pret-pas.lua index a866f4a..0288327 100644 --- a/pret-pas.lua +++ b/pret-pas.lua @@ -6,9 +6,13 @@ if not modules then modules = { } end modules ['pret-pas'] = { license = "see context related readme files" } +-- The code formatting is adapted from Lazarus, a Free Pascal RAD IDE. +-- http://lazarus.freepascal.org/ + local visualizer = buffers.newvisualizer("pas") --- reserved words taken from http://www.freepascal.org/docs-html/ref/refse3.html +-- The list of reserved words is taken from +-- http://www.freepascal.org/docs-html/ref/refse3.html visualizer.reservedwords = { -- Turbo Pascal "absolute", "and", "array", "asm", "begin", "case", "const", "constructor", @@ -29,8 +33,8 @@ visualizer.reservedwords = { "packed", "property", "raise", "resourcestring", "threadvar", "try", -- Modifiers - -- some of these are only bold in specific places (this is deliberately - -- ignored) + -- some of these are only bold in specific places (in the following, this is + -- deliberately ignored) "absolute", "abstract", "alias", "assembler", "cdecl", "cppdecl", "default", "export", "external", "far", "far16", "forward", "index", "local", "name", "near", "nostackframe", "oldfpccall", "override", "pascal", "private",