[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
parse-datetime: Simplify
From: |
Bruno Haible |
Subject: |
parse-datetime: Simplify |
Date: |
Sat, 09 Mar 2024 13:06:30 +0100 |
These two patches simplify the 'parse-datetime' module:
- Since the module requires Bison, and the Bison-generated parser does not
use the return value of the yyerror() function, this function can just as
well return 'void'.
- The Makefile rules for generating two files from a single .y file are
complicated. But the .h file generated by bison is not needed. We can
tell Bison to generate only a .c file; this simplifies the Makefile rules.
2024-03-09 Bruno Haible <bruno@clisp.org>
parse-datetime: Simplify.
* modules/parse-datetime (Makefile.am): Don't generate
parse-datetime-gen.h.
2024-03-09 Bruno Haible <bruno@clisp.org>
parse-datetime: Simplify.
* lib/parse-datetime.y (yyerror): Change return type to 'void'.
0001-parse-datetime-Simplify.patch
Description: Text Data
0002-parse-datetime-Simplify.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- parse-datetime: Simplify,
Bruno Haible <=