Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clean-compiler-and-rts
compiler
Commits
fc72132f
Commit
fc72132f
authored
Apr 29, 2004
by
Ronny Wichers Schreur
🏢
Browse files
removed analysis of ident names for instance types (pre-Clean 2.0 code)
parent
d99aeea3
Changes
1
Hide whitespace changes
Inline
Side-by-side
backendC/CleanCompilerSources/checksupport.c
View file @
fc72132f
...
...
@@ -351,9 +351,6 @@ static char *PrintTypesOfSymbol (char *type_repr, File file, ModuleInfo module_i
}
/* PrintTypesOfSymbol */
#define _ANALYSE_IDENT_
/* also in optimisations.c */
#ifndef CLEAN2
#define _ANALYSE_INSTANCE_TYPES_
#endif
#define MAX_SYMBOL_EXTENSION_SIZE 40
void
PrintSymbolOfIdent
(
Ident
sid
,
unsigned
line_nr
,
File
file
)
...
...
@@ -410,20 +407,7 @@ void PrintSymbolOfIdent (Ident sid, unsigned line_nr, File file)
next_char
=
end_name
+
1
;
}
# ifdef _ANALYSE_INSTANCE_TYPES_
FPutS
(
" ("
,
file
);
next_char
=
PrintTypesOfSymbol
(
next_char
,
file
,
sid
->
ident_mod_info
,
&
print_length
);
for
(;
*
next_char
==
cTypeDelimiter
;
)
{
FPutC
(
','
,
file
);
next_char
=
PrintTypesOfSymbol
(
++
next_char
,
file
,
sid
->
ident_mod_info
,
&
print_length
);
}
FPutC
(
')'
,
file
);
# else
FPutS
(
next_char
,
file
);
# endif
}
#else
FPutS
(
name
,
file
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment