nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e50e4f2
)
model: implements MProject::full_name and MProject::c_name
author
Jean Privat
<jean@pryen.org>
Fri, 9 Jan 2015 22:27:37 +0000
(17:27 -0500)
committer
Jean Privat
<jean@pryen.org>
Wed, 14 Jan 2015 03:12:55 +0000
(22:12 -0500)
Signed-off-by: Jean Privat <jean@pryen.org>
src/model/mproject.nit
patch
|
blob
|
history
diff --git
a/src/model/mproject.nit
b/src/model/mproject.nit
index
9002009
..
283d54c
100644
(file)
--- a/
src/model/mproject.nit
+++ b/
src/model/mproject.nit
@@
-27,6
+27,10
@@
class MProject
# The name of the project
redef var name: String
+ redef fun full_name do return name
+
+ redef var c_name = name.to_cmangle is lazy
+
# The model of the project
redef var model: Model