From 9f0cd21b61273e0dc59b0f1b2ef6e3b17b7dd941 Mon Sep 17 00:00:00 2001 From: Christian Thaeter Date: Thu, 23 Nov 2006 20:48:39 +0100 Subject: [PATCH] reformated common-strings macro --- engine/engine.h | 92 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 46 insertions(+), 46 deletions(-) diff --git a/engine/engine.h b/engine/engine.h index 31e0d5c..e890fa8 100644 --- a/engine/engine.h +++ b/engine/engine.h @@ -33,52 +33,52 @@ note that "--WORLD" must be the first one */ -#define MALA_COMMON_STRINGS \ -{ \ - MALA_COMMON_STRING (WORLD, "--WORLD"), \ - MALA_COMMON_STRING (COMMANDLINE, "--COMMANDLINE"), \ - MALA_COMMON_STRING (PROGRAM, "--PROGRAM"), \ - MALA_COMMON_STRING (ARGUMENTS, "--ARGUMENTS"), \ - MALA_COMMON_STRING (FALSE, "--FALSE"), \ - MALA_COMMON_STRING (TRUE, "--TRUE"), \ - MALA_COMMON_STRING (EMPTY, ""), \ - MALA_COMMON_STRING (ZERO, "0"), \ - MALA_COMMON_STRING (PASS, "--PASS"), \ - MALA_COMMON_STRING (EXCLAMATIONMARK, "!"), \ - MALA_COMMON_STRING (ASSIGN, "="), \ - MALA_COMMON_STRING (BACKQUOTE, "`"), \ - MALA_COMMON_STRING (NOT, "--NOT"), \ - MALA_COMMON_STRING (LITERAL, "--LITERAL"), \ - MALA_COMMON_STRING (ENVSUBST, "--ENVSUBST"), \ - MALA_COMMON_STRING (SETENV, "--SETENV"), \ - MALA_COMMON_STRING (SECTION, "--SECTION"), \ - MALA_COMMON_STRING (BEFORE_HERE, "--BEFORE-HERE"), \ - MALA_COMMON_STRING (BEGIN, "--BEGIN"), \ - MALA_COMMON_STRING (END, "--END"), \ - MALA_COMMON_STRING (DEL, "--DEL"), \ - MALA_COMMON_STRING (DEFAULT_PARSER, "--DEFAULT-PARSER"), \ - MALA_COMMON_STRING (PP_COMMANDLINE, "--PP-COMMANDLINE"), \ - MALA_COMMON_STRING (PP_CONFIGFILE, "--PP-CONFIGFILE"), \ - MALA_COMMON_STRING (PP_INTERACTIVE, "--PP-INTERACTIVE"), \ - MALA_COMMON_STRING (FLAG_LITERAL_EXPANSION, "--FLAG-LITERAL-EXPANSION"), \ - MALA_COMMON_STRING (FLAG_EXCLAM_EXPANSION, "--FLAG-EXCLAM-EXPANSION"), \ - MALA_COMMON_STRING (FLAG_NO_EXPANSION, "--FLAG-NO-EXPANSION"), \ - MALA_COMMON_STRING (FLAG_NUMSPLIT_EXPANSION, "--FLAG-NUMSPLIT-EXPANSION"), \ - MALA_COMMON_STRING (FLAG_CHAR_EXPANSION, "--FLAG-CHAR-EXPANSION"), \ - MALA_COMMON_STRING (FLAG_ASSIGN_EXPANSION, "--FLAG-ASSIGN-EXPANSION"), \ - MALA_COMMON_STRING (FLAG_SETENV_EXPANSION, "--FLAG-SETENV-EXPANSION"), \ - MALA_COMMON_STRING (FLAG_ENVVAR_EXPANSION, "--FLAG-ENVVAR-EXPANSION"), \ - MALA_COMMON_STRING (FLAG_UNDERSCORE_EXPANSION, "--FLAG-UNDERSCORE-EXPANSION"), \ - MALA_COMMON_STRING (FLAG_BRACKET_EXPANSION, "--FLAG-BRACKET-EXPANSION"), \ - MALA_COMMON_STRING (FLAG_ASSIGN_CONTRACTION, "--FLAG-ASSIGN-CONTRACTION"), \ - MALA_COMMON_STRING (ERROR_MISSING_ARGUMENT, "--ERROR-MISSING-ARGUMENT"), \ - MALA_COMMON_STRING (ERROR_MISSING_END, "--ERROR-MISSING-END"), \ - MALA_COMMON_STRING (ERROR_END_WITHOUT_BEGIN, "--ERROR-END-WITHOUT-BEGIN"), \ - MALA_COMMON_STRING (ERROR_BLOCK_NOT_ALLOWED, "--ERROR-BLOCK-NOT-ALLOWED"), \ - MALA_COMMON_STRING (ERROR_PARAMETER_SYNTAX, "--ERROR-PARAMETER-SYNTAX"), \ - MALA_COMMON_STRING (ERROR_WRONG_TYPE, "--ERROR-WRONG-TYPE"), \ - MALA_COMMON_STRING (ERROR_PREDICATE_REQUIRED, "--ERROR-PREDICATE-REQUIRED"), \ - MALA_COMMON_STRING (MAX, "") \ +#define MALA_COMMON_STRINGS \ +{ \ + MALA_COMMON_STRING (WORLD, "--WORLD"), \ + MALA_COMMON_STRING (COMMANDLINE, "--COMMANDLINE"), \ + MALA_COMMON_STRING (PROGRAM, "--PROGRAM"), \ + MALA_COMMON_STRING (ARGUMENTS, "--ARGUMENTS"), \ + MALA_COMMON_STRING (FALSE, "--FALSE"), \ + MALA_COMMON_STRING (TRUE, "--TRUE"), \ + MALA_COMMON_STRING (EMPTY, ""), \ + MALA_COMMON_STRING (ZERO, "0"), \ + MALA_COMMON_STRING (PASS, "--PASS"), \ + MALA_COMMON_STRING (EXCLAMATIONMARK, "!"), \ + MALA_COMMON_STRING (ASSIGN, "="), \ + MALA_COMMON_STRING (BACKQUOTE, "`"), \ + MALA_COMMON_STRING (NOT, "--NOT"), \ + MALA_COMMON_STRING (LITERAL, "--LITERAL"), \ + MALA_COMMON_STRING (ENVSUBST, "--ENVSUBST"), \ + MALA_COMMON_STRING (SETENV, "--SETENV"), \ + MALA_COMMON_STRING (SECTION, "--SECTION"), \ + MALA_COMMON_STRING (BEFORE_HERE, "--BEFORE-HERE"), \ + MALA_COMMON_STRING (BEGIN, "--BEGIN"), \ + MALA_COMMON_STRING (END, "--END"), \ + MALA_COMMON_STRING (DEL, "--DEL"), \ + MALA_COMMON_STRING (DEFAULT_PARSER, "--DEFAULT-PARSER"), \ + MALA_COMMON_STRING (PP_COMMANDLINE, "--PP-COMMANDLINE"), \ + MALA_COMMON_STRING (PP_CONFIGFILE, "--PP-CONFIGFILE"), \ + MALA_COMMON_STRING (PP_INTERACTIVE, "--PP-INTERACTIVE"), \ + MALA_COMMON_STRING (FLAG_LITERAL_EXPANSION, "--FLAG-LITERAL-EXPANSION"), \ + MALA_COMMON_STRING (FLAG_EXCLAM_EXPANSION, "--FLAG-EXCLAM-EXPANSION"), \ + MALA_COMMON_STRING (FLAG_NO_EXPANSION, "--FLAG-NO-EXPANSION"), \ + MALA_COMMON_STRING (FLAG_NUMSPLIT_EXPANSION, "--FLAG-NUMSPLIT-EXPANSION"), \ + MALA_COMMON_STRING (FLAG_CHAR_EXPANSION, "--FLAG-CHAR-EXPANSION"), \ + MALA_COMMON_STRING (FLAG_ASSIGN_EXPANSION, "--FLAG-ASSIGN-EXPANSION"), \ + MALA_COMMON_STRING (FLAG_SETENV_EXPANSION, "--FLAG-SETENV-EXPANSION"), \ + MALA_COMMON_STRING (FLAG_ENVVAR_EXPANSION, "--FLAG-ENVVAR-EXPANSION"), \ + MALA_COMMON_STRING (FLAG_UNDERSCORE_EXPANSION, "--FLAG-UNDERSCORE-EXPANSION"), \ + MALA_COMMON_STRING (FLAG_BRACKET_EXPANSION, "--FLAG-BRACKET-EXPANSION"), \ + MALA_COMMON_STRING (FLAG_ASSIGN_CONTRACTION, "--FLAG-ASSIGN-CONTRACTION"), \ + MALA_COMMON_STRING (ERROR_MISSING_ARGUMENT, "--ERROR-MISSING-ARGUMENT"), \ + MALA_COMMON_STRING (ERROR_MISSING_END, "--ERROR-MISSING-END"), \ + MALA_COMMON_STRING (ERROR_END_WITHOUT_BEGIN, "--ERROR-END-WITHOUT-BEGIN"), \ + MALA_COMMON_STRING (ERROR_BLOCK_NOT_ALLOWED, "--ERROR-BLOCK-NOT-ALLOWED"), \ + MALA_COMMON_STRING (ERROR_PARAMETER_SYNTAX, "--ERROR-PARAMETER-SYNTAX"), \ + MALA_COMMON_STRING (ERROR_WRONG_TYPE, "--ERROR-WRONG-TYPE"), \ + MALA_COMMON_STRING (ERROR_PREDICATE_REQUIRED, "--ERROR-PREDICATE-REQUIRED"), \ + MALA_COMMON_STRING (MAX, "") \ } -- 2.11.4.GIT