Skip to content

Commit

Permalink
Get rid of keyword private in AutoGrammar.java. Add the jar.
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenrbrandt committed Sep 13, 2016
1 parent 44097ed commit 3ba19a5
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="src" path="/util"/>
<classpathentry kind="output" path="bin"/>
</classpath>
2 changes: 1 addition & 1 deletion doc/CScript.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ <h1>expressions built from operators</h1>

index = {name} [ {expr} ]

fcall = {name} ( ({expr}( , {expr})*|) )
fcall = {name} \( ({expr}( , {expr})*|) \)
</pre>

<p>The index defines syntax for indexing an array.</p>
Expand Down
Binary file added piraha.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions src/edu/lsu/cct/piraha/AutoGrammar.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public class AutoGrammar {

public final static Grammar reparser = reparserGenerator();

private static Grammar reparserGenerator() {
static Grammar reparserGenerator() {
Grammar g = new Grammar();
g.patterns.put("named",new Seq(
new Literal('{'),
Expand Down Expand Up @@ -174,7 +174,7 @@ private static Grammar reparserGenerator() {

public final static Grammar fileparser = fileparserGenerator();

private static Grammar fileparserGenerator() {
static Grammar fileparserGenerator() {
Grammar g = new Grammar();
g.patterns.put("named",new Seq(
new Literal('{'),
Expand Down

0 comments on commit 3ba19a5

Please sign in to comment.