style: make conversion of version string to int public

* src/parse-gram.y (str_to_version): Rename as/move to...
* src/strversion.h, src/strversion.c (strversion_to_int): these new
files.
This commit is contained in:
Akim Demaille
2020-11-11 08:19:31 +01:00
parent 14c65a35f0
commit d8b49e2b73
4 changed files with 99 additions and 48 deletions

View File

@@ -103,6 +103,8 @@ src_bison_SOURCES = \
src/state.h \
src/state-item.c \
src/state-item.h \
src/strversion.c \
src/strversion.h \
src/symlist.c \
src/symlist.h \
src/symtab.c \