parser: clarify version checking

* src/parse-gram.y: Use the same conventions for gnulib as elsewhere:
<header.h>.
(str_to_version): New.
(handle_require): Use it.
Prefer < to >.
This commit is contained in:
Akim Demaille
2019-10-20 14:39:17 +02:00
parent e31f92495c
commit 97d6da0c5b
3 changed files with 98 additions and 64 deletions

View File

@@ -1,4 +1,4 @@
/* A Bison parser, made by GNU Bison 3.4.2.189-f435. */
/* A Bison parser, made by GNU Bison 3.4.2.191-54c5d. */
/* Bison interface for Yacc-like parsers in C