spreadsheet-reader: Merge duplicate code with libpspp/str.h.
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 3 Jun 2023 17:02:28 +0000 (10:02 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 3 Jun 2023 17:10:13 +0000 (10:10 -0700)
commit2ba8dc2955f8a4bcad4a265fd3354f4fd8f74564
tree68c50fb7f57f60e9b94ed6d43001e9dd8f2234a1
parentfa6bce3e7815c9f4e97497626af9e4ce9bceab5c
spreadsheet-reader: Merge duplicate code with libpspp/str.h.

The tree had two functions for 26-adic spreadsheet number formatting.  This
eliminates the duplication and moves the corresponding parsing function
into str.h as well.
src/data/dictionary.c
src/data/short-names.c
src/data/spreadsheet-reader.c
src/data/spreadsheet-reader.h
src/libpspp/str.c
src/libpspp/str.h
src/output/pivot-table.c
src/ui/gui/psppire-import-spreadsheet.c
tests/libpspp/str-test.c
tests/libpspp/stringi-map-test.c
tests/libpspp/stringi-set-test.c