]> git.draconx.ca Git - cdecl99.git/commitdiff
libcdecl: Consolidate most error messages.
authorNick Bowler <nbowler@draconx.ca>
Fri, 9 Jun 2023 14:43:36 +0000 (10:43 -0400)
committerNick Bowler <nbowler@draconx.ca>
Fri, 16 Jun 2023 04:10:13 +0000 (00:10 -0400)
Almost every error message returned by the library is a fixed
string describing some particular syntax problem.  Keep this
list of strings in one place, and add a new internal helper
to report one of these errors.

Furthermore, reduce the amount of distinct error codes returned
to the user to (once again) just two, as the current plethora of
codes seems completely pointless.


No differences found