nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'pu/class_name' into wip
[nit.git]
/
src
/
compiling
/
compiling_global.nit
diff --git
a/src/compiling/compiling_global.nit
b/src/compiling/compiling_global.nit
index
1a5aa73
..
1a8a817
100644
(file)
--- a/
src/compiling/compiling_global.nit
+++ b/
src/compiling/compiling_global.nit
@@
-281,6
+281,14
@@
redef class TableEltClassSelfId
end
end
end
end
+redef class TableEltClassSelfName
+ redef fun compile_to_c(v, c)
+ do
+ var prog = v.program
+ return "\"{c.global.name}\" /* {prog.table_information.color(self)}: Class Name */"
+ end
+end
+
redef class TableEltClassObjectSize
redef fun compile_to_c(v, c)
do
redef class TableEltClassObjectSize
redef fun compile_to_c(v, c)
do