2 * $Id: rexx.c 443 2006-05-30 04:37:13Z darren $
4 * Copyright (c) 2001-2003, Darren Hiebert
6 * This source code is released for free distribution under the terms of the
7 * GNU General Public License.
9 * This module contains functions for generating tags for the REXX language
10 * (http://www.rexxla.org, http://www2.hursley.ibm.com/rexx).
16 #include "general.h" /* always include first */
17 #include "parse.h" /* always include */
20 * FUNCTION DEFINITIONS
23 static void installRexxRegex (const langType language
)
25 addTagRegex (language
, "^([A-Za-z0-9@#$\\.!?_]+)[ \t]*:",
26 "\\1", "s,subroutine,subroutines", NULL
);
29 extern parserDefinition
* RexxParser (void)
31 static const char *const extensions
[] = { "cmd", "rexx", "rx", NULL
};
32 parserDefinition
* const def
= parserNew ("REXX");
33 def
->extensions
= extensions
;
34 def
->initialize
= installRexxRegex
;
39 /* vi:set tabstop=4 shiftwidth=4: */