summaryrefslogtreecommitdiffabout
path: root/src/preproc.c
authorSergey Poznyakoff <gray@gnu.org.ua>2015-12-16 10:07:16 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2015-12-16 10:20:45 (GMT)
commit9e978b089268e6bfc4b8fcdf9ef721f6fa92c11f (patch) (side-by-side diff)
treec94e728d95ecabc03f7eef76ecae6dd71bdaebf0 /src/preproc.c
parente71c1a855797de245105494a05623753e32844a4 (diff)
downloadgrecs-9e978b089268e6bfc4b8fcdf9ef721f6fa92c11f.tar.gz
grecs-9e978b089268e6bfc4b8fcdf9ef721f6fa92c11f.tar.bz2
Add option to hide configuration statements from help output
* src/format.c (grecs_print_statement_array): Skip elements marked with GRECS_HIDDEN flag. * src/grecs.hin (GRECS_HIDDEN): New flag.
Diffstat (limited to 'src/preproc.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/preproc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/preproc.c b/src/preproc.c
index 56dcc22..9945097 100644
--- a/src/preproc.c
+++ b/src/preproc.c
@@ -606,8 +606,7 @@ parse_include(const char *text, int once)
allow_cwd = 0;
p[len - 1] = 0;
p++;
- }
- else
+ } else
allow_cwd = 1;
if (isglob(p)) {

Return to:

Send suggestions and report system problems to the System administrator.