[Git][NTPsec/ntpsec][master] Removed uninterpreted, undocumented "abbrev" keyword from the config parser.
Eric S. Raymond
gitlab at mg.gitlab.com
Fri Jul 8 17:25:15 UTC 2016
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
47fb7e7b by Eric S. Raymond at 2016-07-08T13:23:28-04:00
Removed uninterpreted, undocumented "abbrev" keyword from the config parser.
- - - - -
2 changed files:
- ntpd/keyword-gen.c
- ntpd/ntp_parser.y
Changes:
=====================================
ntpd/keyword-gen.c
=====================================
--- a/ntpd/keyword-gen.c
+++ b/ntpd/keyword-gen.c
@@ -171,7 +171,6 @@ struct key_tok ntp_keywords[] = {
{ "maxmem", T_Maxmem, FOLLBY_TOKEN },
{ "mru", T_Mru, FOLLBY_TOKEN },
/* fudge_factor */
-{ "abbrev", T_Abbrev, FOLLBY_STRING },
{ "flag1", T_Flag1, FOLLBY_TOKEN },
{ "flag2", T_Flag2, FOLLBY_TOKEN },
{ "flag3", T_Flag3, FOLLBY_TOKEN },
=====================================
ntpd/ntp_parser.y
=====================================
--- a/ntpd/ntp_parser.y
+++ b/ntpd/ntp_parser.y
@@ -68,7 +68,6 @@
}
/* TERMINALS (do not appear left of colon) */
-%token <Integer> T_Abbrev
%token <Integer> T_Age
%token <Integer> T_All
%token <Integer> T_Allan
@@ -962,8 +961,6 @@ fudge_factor
yyerror("fudge factor: stratum value not in [0..16], ignored");
}
}
- | T_Abbrev T_String
- { $$ = create_attr_sval($1, $2); }
| T_Refid T_String
{ $$ = create_attr_sval($1, $2); }
;
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/47fb7e7bd17f5db536ccce8b3a7e6490cfd757ed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160708/330cf579/attachment.html>
More information about the vc
mailing list