From 12c42b0db420ea4ac5189b8ee5b9a71056c18fb4 Mon Sep 17 00:00:00 2001 From: Mihail Groza Date: Tue, 14 Mar 2017 22:05:49 +0000 Subject: [PATCH] Fix parsing failure for self-check. Trying to be too smart is dangerous: avoiding redefinition by using constant string macros for string literal splicing works for a regular compiler, but fails due to Splint's choice of not expanding macros (in order to check them). Reverted to previous code to allow self-checks. --- src/flags.def | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/flags.def b/src/flags.def index 779b136..c03fe75 100644 --- a/src/flags.def +++ b/src/flags.def @@ -2938,8 +2938,7 @@ static flaglist flags = FLG_STDSTRICTLIB, "interpret standard library strictly", "Stricter version of the standard library is used. (The default " - "library is " LLSTDLIBS_NAME DUMP_SUFFIX "; strict library is " - LLSTDSTRICTLIBS_NAME DUMP_SUFFIX ".)", + "library is standard.lcd; strict library is standardstrict.lcd.)", 0, 0 }, { @@ -3020,14 +3019,14 @@ static flaglist flags = FK_LIBS, FK_FILES, globalFlag, ARG_FILE, "dump", FLG_DUMP, - "save state for merging (default suffix " DUMP_SUFFIX ")", + "save state for merging (default suffix .lcd)", NULL, 0, 0 }, { FK_LIBS, FK_FILES, globalFlag, ARG_FILE, "load", FLG_MERGE, - "load state from dump file (default suffix " DUMP_SUFFIX ")", + "load state from dump file (default suffix .lcd)", NULL, 0, 0 }, -- 2.11.4.GIT