Skip to content

Commit

Permalink
Corrected macros for fingerprintof.
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony D. Urso committed Nov 6, 2010
1 parent 4b1f8c0 commit 0b9de31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/java/sizzle/compiler/SymbolTable.java
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ public SymbolTable(final List<URL> libs, final SizzleType input) throws IOExcept
new SizzleScalar(), new SizzleScalar() }, "(${0}.containsKey(${1}) ? ${0}.get(${1}) : ${2})"));

// these fingerprints are identity functions
this.setFunction("fingerprintof", new SizzleFunction(new SizzleFingerprint(), new SizzleScalar[] { new SizzleInt() }, ""));
this.setFunction("fingerprintof", new SizzleFunction(new SizzleFingerprint(), new SizzleScalar[] { new SizzleTime() }, ""));
this.setFunction("fingerprintof", new SizzleFunction(new SizzleFingerprint(), new SizzleScalar[] { new SizzleInt() }, "${0}"));
this.setFunction("fingerprintof", new SizzleFunction(new SizzleFingerprint(), new SizzleScalar[] { new SizzleTime() }, "${0}"));

/* expose all the casting constructors to Sawzall */

Expand Down

0 comments on commit 0b9de31

Please sign in to comment.