Module Name: src Committed By: rillig Date: Thu Dec 30 01:06:43 UTC 2021
Modified Files: src/usr.bin/make: cond.c Log Message: make: make ParseWord in condition parser simpler Merge the two return values (bool, string) into a single return value. As before, the caller cannot observe the difference between a parse error and an empty word, both are handled in the same way. In CondParser_ComparisonOrLeaf, the word cannot be empty since the calling function CondParser_Token already handles all cases that could lead to an empty word. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.317 -r1.318 src/usr.bin/make/cond.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.