diff options
| author | johnvg | 2001-06-11 15:56:01 +0000 | 
|---|---|---|
| committer | johnvg | 2001-06-11 15:56:01 +0000 | 
| commit | 1db299c31883ca829454feb8efc5334d1eae87f7 (patch) | |
| tree | 90f168809422ab0efba9923756d8afa2780b65d1 /backendC/CleanCompilerSources | |
| parent | Bug fix with array updates. Removed redundant code. Adjusted unification algo... (diff) | |
handle GuardNode's
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@479 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'backendC/CleanCompilerSources')
| -rw-r--r-- | backendC/CleanCompilerSources/set_scope_numbers.c | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/backendC/CleanCompilerSources/set_scope_numbers.c b/backendC/CleanCompilerSources/set_scope_numbers.c index 9d0018e..9cb4e3f 100644 --- a/backendC/CleanCompilerSources/set_scope_numbers.c +++ b/backendC/CleanCompilerSources/set_scope_numbers.c @@ -83,6 +83,11 @@ static void set_root_scope_numbers (NodeP node_p,int local_scope)  				}  			}  			break; +		case GuardNode: +			set_root_scope_numbers (node_p->node_arguments->arg_node,local_scope); +			set_root_scope_numbers (node_p->node_arguments->arg_next->arg_node,local_scope); +			set_node_id_scope_numbers (node_p->node_node_defs,local_scope); +			break;  	}  }  | 
