diff options
author | ronny | 2001-06-22 13:18:04 +0000 |
---|---|---|
committer | ronny | 2001-06-22 13:18:04 +0000 |
commit | df479bbbb3fd3b7245d6a4520a0aa58a6b28daf9 (patch) | |
tree | ce1813c5e138ce69785c12f7efae2fe4acdd55b6 /backendC/CleanCompilerSources | |
parent | boolean for explicit cases (cases that are specified by the programmer) (diff) |
print matched symbol in CaseNode
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@495 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'backendC/CleanCompilerSources')
-rw-r--r-- | backendC/CleanCompilerSources/dbprint.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/backendC/CleanCompilerSources/dbprint.c b/backendC/CleanCompilerSources/dbprint.c index 13055bb..4b7a201 100644 --- a/backendC/CleanCompilerSources/dbprint.c +++ b/backendC/CleanCompilerSources/dbprint.c @@ -393,7 +393,12 @@ void PrintRuleNode (Node node,Bool brackets,int n_leading_spaces,File file) PrintArguments (node->node_arguments,'\n',True,n_leading_spaces,file); break; case CaseNode: - FPutS ("Case: [ ",file); + FPutS ("Case: ",file); + + PrintSymbol (node->node_symbol, file); + FPutS (" [ ",file); + + FPutS (" ",file); { NodeIdRefCountListP node_id_ref_count_elem; |