diff options
author | axel <axel@liljencrantz.se> | 2007-04-23 08:10:33 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2007-04-23 08:10:33 +1000 |
commit | ee94424b0f4753b9d9a0b075c36d5b65cadafbb4 (patch) | |
tree | ac51edb6de64732c2a7a1fe199712498f05aeda2 /parser.c | |
parent | 2b7535bb518c909e2a6ce1352df93c5c6bbc084b (diff) |
Add the possibility for functions which do not shadow the arguments of the calling function
darcs-hash:20070422221033-ac50b-d9544c87d0ddab10f7f503b5a1707292f266efe4.gz
Diffstat (limited to 'parser.c')
-rw-r--r-- | parser.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -213,6 +213,11 @@ The fish parser. Contains functions for parsing and evaluating code. */ #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 @@ -310,6 +315,10 @@ const static struct block_lookup_entry block_lookup[]= } , { + FUNCTION_CALL_NO_SHADOW, 0, FUNCTION_CALL_NO_SHADOW_BLOCK + } + , + { SWITCH, L"switch", SWITCH_BLOCK } , |