- Updated some comments

This commit is contained in:
Stefan Müller 2010-09-30 14:56:18 +02:00
parent 978900de22
commit a70e58fceb
1 changed files with 7 additions and 3 deletions

View File

@ -6,9 +6,13 @@ if not modules then modules = { } end modules ['pret-pas'] = {
license = "see context related readme files" 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") 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 = { visualizer.reservedwords = {
-- Turbo Pascal -- Turbo Pascal
"absolute", "and", "array", "asm", "begin", "case", "const", "constructor", "absolute", "and", "array", "asm", "begin", "case", "const", "constructor",
@ -29,8 +33,8 @@ visualizer.reservedwords = {
"packed", "property", "raise", "resourcestring", "threadvar", "try", "packed", "property", "raise", "resourcestring", "threadvar", "try",
-- Modifiers -- Modifiers
-- some of these are only bold in specific places (this is deliberately -- some of these are only bold in specific places (in the following, this is
-- ignored) -- deliberately ignored)
"absolute", "abstract", "alias", "assembler", "cdecl", "cppdecl", "default", "absolute", "abstract", "alias", "assembler", "cdecl", "cppdecl", "default",
"export", "external", "far", "far16", "forward", "index", "local", "name", "export", "external", "far", "far16", "forward", "index", "local", "name",
"near", "nostackframe", "oldfpccall", "override", "pascal", "private", "near", "nostackframe", "oldfpccall", "override", "pascal", "private",