]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
document eol
authorMark Andrews <marka@isc.org>
Mon, 29 Oct 2018 23:40:31 +0000 (10:40 +1100)
committerMark Andrews <marka@isc.org>
Tue, 30 Oct 2018 00:03:02 +0000 (11:03 +1100)
lib/isc/include/isc/lex.h

index d63ecf9654187c712fda49113376f927379fbaf7..d1e36c0a15decc8d3fb824532137ee55c82165cc 100644 (file)
@@ -306,7 +306,8 @@ isc_lex_getmastertoken(isc_lex_t *lex, isc_token_t *token,
  * Get the next token from a DNS master file type stream.  This is a
  * convenience function that sets appropriate options and handles quoted
  * strings and end of line correctly for master files.  It also ungets
- * unexpected tokens.
+ * unexpected tokens.  If `eol` is set then expect end-of-line otherwise
+ * eol is a error.
  *
  * Requires:
  *\li  'lex' is a valid lexer.
@@ -324,6 +325,7 @@ isc_lex_getoctaltoken(isc_lex_t *lex, isc_token_t *token, bool eol);
  * Get the next token from a DNS master file type stream.  This is a
  * convenience function that sets appropriate options and handles end
  * of line correctly for master files.  It also ungets unexpected tokens.
+ * If `eol` is set then expect end-of-line otherwise eol is a error.
  *
  * Requires:
  *\li  'lex' is a valid lexer.