diff options
author | Kurtis Rader <krader@skepticism.us> | 2016-05-02 17:22:44 -0700 |
---|---|---|
committer | Kurtis Rader <krader@skepticism.us> | 2016-05-02 19:24:52 -0700 |
commit | 80250c0729d382aa60b4c6ff6210b66b470ad40b (patch) | |
tree | d862929de8dc7bbbfdaa476292ef8bb65f5d120e /src/parse_constants.h | |
parent | ca912f157ea9a6ba8690c83eecb72f1c50b23193 (diff) |
restyle parser module to match project style
Reduces lint errors from 72 to 44 (-43%). Line count from 1698 to 1313 (-23%).
Another step in resolving issue #2902.
Diffstat (limited to 'src/parse_constants.h')
-rw-r--r-- | src/parse_constants.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/parse_constants.h b/src/parse_constants.h index c43ba7de..01580d15 100644 --- a/src/parse_constants.h +++ b/src/parse_constants.h @@ -268,49 +268,4 @@ void parse_error_offset_source_start(parse_error_list_t *errors, size_t amt); #define ERROR_BAD_COMMAND_ASSIGN_ERR_MSG \ _(L"Unsupported use of '='. In fish, please use 'set %ls %ls'.") -/// While block description. -#define WHILE_BLOCK N_(L"'while' block") - -/// For block description. -#define FOR_BLOCK N_(L"'for' block") - -/// Breakpoint block. -#define BREAKPOINT_BLOCK N_(L"Block created by breakpoint") - -/// If block description. -#define IF_BLOCK N_(L"'if' conditional block") - -/// Function definition block description. -#define FUNCTION_DEF_BLOCK N_(L"function definition block") - -/// Function invocation block description. -#define FUNCTION_CALL_BLOCK N_(L"function invocation block") - -/// Function invocation block description. -#define FUNCTION_CALL_NO_SHADOW_BLOCK N_(L"function invocation block with no variable shadowing") - -/// Switch block description. -#define SWITCH_BLOCK N_(L"'switch' block") - -/// Fake block description. -#define FAKE_BLOCK N_(L"unexecutable block") - -/// Top block description. -#define TOP_BLOCK N_(L"global root block") - -/// Command substitution block description. -#define SUBST_BLOCK N_(L"command substitution block") - -/// Begin block description. -#define BEGIN_BLOCK N_(L"'begin' unconditional block") - -/// Source block description. -#define SOURCE_BLOCK N_(L"Block created by the . builtin") - -/// Source block description. -#define EVENT_BLOCK N_(L"event handler block") - -/// Unknown block description. -#define UNKNOWN_BLOCK N_(L"unknown/invalid block") - #endif |