projects
/
fleet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8605972
)
mark static functions as such
author
David Crawshaw
<david@zentus.com>
Thu, 18 Dec 2008 18:00:30 +0000
(10:00 -0800)
committer
David Crawshaw
<david@zentus.com>
Thu, 18 Dec 2008 18:00:30 +0000
(10:00 -0800)
src/edu/berkeley/fleet/assembler/Parser.java
patch
|
blob
|
history
diff --git
a/src/edu/berkeley/fleet/assembler/Parser.java
b/src/edu/berkeley/fleet/assembler/Parser.java
index
88fd12d
..
dcd468f
100644
(file)
--- a/
src/edu/berkeley/fleet/assembler/Parser.java
+++ b/
src/edu/berkeley/fleet/assembler/Parser.java
@@
-217,7
+217,7
@@
public class Parser {
}
}
}
}
- String string(Tree<String> t) {
+ private static String string(Tree<String> t) {
String ret = "";
if (t.head() != null) ret += t.head();
for(Tree<String> c : t)
String ret = "";
if (t.head() != null) ret += t.head();
for(Tree<String> c : t)
@@
-225,14
+225,14
@@
public class Parser {
return ret;
}
return ret;
}
- String stringBody(Tree<String> t) {
+ private static String stringBody(Tree<String> t) {
String ret = "";
for(Tree<String> c : t)
ret += string(c);
return ret;
}
String ret = "";
for(Tree<String> c : t)
ret += string(c);
return ret;
}
- String name(Tree<String> t) {
+ private static String name(Tree<String> t) {
return string(t.child(0))+string(t.child(1));
}
return string(t.child(0))+string(t.child(1));
}