aboutsummaryrefslogtreecommitdiff
path: root/src/grecs.h
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2012-10-08 22:54:22 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2012-10-08 22:54:22 +0300
commitbef65e80588f71b1fe5247869e6cab20d334aa68 (patch)
tree275e4bafda6b93dc7a964bdbcd4ae007b3801d20 /src/grecs.h
parent4b49dd31f76faf42aa0771af2aeb8161e38f2fe4 (diff)
downloadgrecs-bef65e80588f71b1fe5247869e6cab20d334aa68.tar.gz
grecs-bef65e80588f71b1fe5247869e6cab20d334aa68.tar.bz2
Minor improvement.
* src/format.c (grecs_print_simple_statement): If the type docstring begins with a \', print it as is, without the leading \' and data type specification. This is useful for fixed data types. * src/grecs.h (grecs_type_null): New keyword type. * src/tree.c: Silently ignore grecs_type_null.
Diffstat (limited to 'src/grecs.h')
-rw-r--r--src/grecs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/grecs.h b/src/grecs.h
index 130315a..ab9e0a8 100644
--- a/src/grecs.h
+++ b/src/grecs.h
@@ -90,7 +90,8 @@ enum grecs_data_type {
grecs_type_cidr,
grecs_type_host,
grecs_type_sockaddr,
- grecs_type_section
+ grecs_type_section,
+ grecs_type_null
};
#define GRECS_DFLT 0x00

Return to:

Send suggestions and report system problems to the System administrator.