format-parser: Improve comment.
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 1 Jan 2022 19:09:49 +0000 (11:09 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 1 Jan 2022 19:15:21 +0000 (11:15 -0800)
src/language/lexer/format-parser.c

index 906d0f327168c5508f16859f46c52c3684987334..85579a2ab2116567d0eb0547c707e198361017ae 100644 (file)
@@ -99,10 +99,9 @@ parse_abstract_format_specifier (struct lexer *lexer,
   return ok;
 }
 
-/* Parses a format specifier from the token stream and returns
-   true only if successful.  Emits an error message on
-   failure.  The caller should call check_input_specifier() or
-   check_output_specifier() on the parsed format as
+/* Parses a format specifier from the token stream and returns true only if
+   successful.  Emits an error message on failure.  The caller should call
+   fmt_check_input() or fmt_check_output() on the parsed format as
    necessary.  */
 bool
 parse_format_specifier (struct lexer *lexer, struct fmt_spec *format)