1
  
2
  
3
  
4
  
5
  
6
  
7
  
8
  
9
  
10
  
11
  
12
  
13
  
14
  
15
  
16
  
17
  
18
  
19
  
20
  
21
  
22
  
23
  
24
  
25
  
26
  
27
  
28
  
29
  
30
  
31
  
32
  
33
  
34
  
/* 
|| This file is part of Pike. For copyright information see COPYRIGHT. 
|| Pike is distributed under GPL, LGPL and MPL. See the file COPYING 
|| for more information. 
*/ 
 
#ifndef PARSER_INITER 
#define PARSER_CLASS(a,b,c,what,id) extern struct program *what; 
#define PARSER_SUBMODULE(a,b,c) 
#define PARSER_SUBMODMAG(a,b,c) 
#define PARSER_FUNCTION(a,name,c,d) void name(INT32 args); 
#endif 
 
PARSER_CLASS("HTML", init_parser_html, exit_parser_html, 
            parser_html_program, PROG_PARSER_HTML_ID ) 
 
PARSER_SUBMODULE("_RCS", init_parser_rcs, exit_parser_rcs ) 
PARSER_SUBMODULE("_C", init_parser_c, exit_parser_c ) 
PARSER_SUBMODULE("_Pike", init_parser_pike, exit_parser_pike ) 
PARSER_SUBMODULE("XML", init_parser_xml, exit_parser_xml ) 
 
   /* 
for documentation purpose: 
 
PARSER_SUBMODULE("ANY",   init_parser_any,  exit_parser_any  ) 
PARSER_SUBMODMAG("PNG",   init_parser_png,  exit_parser_png  ) 
 
PARSER_FUNCTION("lay",parser_lay, 
               tOr(tFunc(tArr(tOr(tObj,tLayerMap)),tObj), 
                   tFunc(tArr(tOr(tObj,tLayerMap)) 
                         tInt tInt tInt tInt,tObj)),0) 
   */