mirror of https://github.com/aamine/cbc
r4970@macbookpro: aamine | 2009-05-26 13:11:26 +0900
* net/loveruby/cflat/asm/AsmComment.java -> Comment.java git-svn-id: file:///Users/aamine/c/gitwork/public/cbc/trunk@4258 1b9489fe-b721-0410-924e-b54b9192deb8
This commit is contained in:
parent
d50cb63ee5
commit
039483da62
|
@ -1,3 +1,7 @@
|
|||
Tue May 26 13:11:08 2009 Minero Aoki <aamine@loveruby.net>
|
||||
|
||||
* net/loveruby/cflat/asm/AsmComment.java -> Comment.java
|
||||
|
||||
Tue May 26 12:57:48 2009 Minero Aoki <aamine@loveruby.net>
|
||||
|
||||
* net/loveruby/cflat/compiler/Compiler.java (writeFile): treat "-"
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
package net.loveruby.cflat.asm;
|
||||
|
||||
public class AsmComment extends Assembly {
|
||||
public class Comment extends Assembly {
|
||||
protected String string;
|
||||
protected int indentLevel;
|
||||
|
||||
public AsmComment(String string) {
|
||||
public Comment(String string) {
|
||||
this(string, 0);
|
||||
}
|
||||
|
||||
public AsmComment(String string, int indentLevel) {
|
||||
public Comment(String string, int indentLevel) {
|
||||
this.string = string;
|
||||
this.indentLevel = indentLevel;
|
||||
}
|
|
@ -38,7 +38,7 @@ public class AssemblyFile {
|
|||
}
|
||||
|
||||
public void comment(String str) {
|
||||
assemblies.add(new AsmComment(str, commentIndentLevel));
|
||||
assemblies.add(new Comment(str, commentIndentLevel));
|
||||
}
|
||||
|
||||
public void indentComment() {
|
||||
|
|
Loading…
Reference in New Issue