1 |
/* GNU m4 -- A simple macro processor |
/* GNU m4 -- A simple macro processor |
2 |
Copyright 1999, 2000, 2001 Free Software Foundation, Inc. |
Copyright 1999, 2000, 2001, 2003 Free Software Foundation, Inc. |
3 |
|
|
4 |
This program is free software; you can redistribute it and/or modify |
This program is free software; you can redistribute it and/or modify |
5 |
it under the terms of the GNU General Public License as published by |
it under the terms of the GNU General Public License as published by |
28 |
#define m4_builtin_table modtest_LTX_m4_builtin_table |
#define m4_builtin_table modtest_LTX_m4_builtin_table |
29 |
#define m4_macro_table modtest_LTX_m4_macro_table |
#define m4_macro_table modtest_LTX_m4_macro_table |
30 |
|
|
31 |
|
#define export_test modtest_LTX_export_test |
32 |
|
|
33 |
|
|
34 |
/* function macros blind minargs maxargs */ |
/* function macros blind minargs maxargs */ |
35 |
#define builtin_functions \ |
#define builtin_functions \ |
36 |
BUILTIN (test, FALSE, FALSE, 1, 1) |
BUILTIN (test, FALSE, FALSE, 1, 1) |
95 |
assert (obs != 0); |
assert (obs != 0); |
96 |
obstack_grow (obs, s, strlen(s)); |
obstack_grow (obs, s, strlen(s)); |
97 |
} |
} |
98 |
|
|
99 |
|
|
100 |
|
/** |
101 |
|
* export_test() |
102 |
|
**/ |
103 |
|
boolean |
104 |
|
export_test (const char *foo) |
105 |
|
{ |
106 |
|
if (foo) |
107 |
|
fprintf (stderr, "%s\n", foo); |
108 |
|
return (boolean) (foo != 0); |
109 |
|
} |