1 |
– |
/* Copyright (c) 1995 Regents of the University of California */ |
2 |
– |
|
1 |
|
#ifndef lint |
2 |
< |
static char SCCSid[] = "$SunId$ LBL"; |
2 |
> |
static const char RCSid[] = "$Id$"; |
3 |
|
#endif |
6 |
– |
|
4 |
|
/* |
5 |
|
* Filter MGF stream, removing entities that won't be understood |
6 |
|
*/ |
7 |
|
|
8 |
|
#include <stdio.h> |
9 |
+ |
#include <stdlib.h> |
10 |
|
#include "parser.h" |
11 |
|
|
12 |
|
/* Number of entities for major versions */ |
48 |
|
} |
49 |
|
for (en = nentlist[i-1]; en--; ) |
50 |
|
mg_ehand[en] = put_entity; |
51 |
+ |
mg_ehand[MG_E_INCLUDE] = NULL; /* expand include's */ |
52 |
|
} else |
53 |
|
for (cp1 = cp2 = argv[1]; *cp1; cp1 = cp2) { |
54 |
|
while (*cp2) { |