Skip to content

Commit

Permalink
export comment for Pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
philbudne committed Dec 14, 2019
1 parent 1893d8f commit 609c7fc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions spipat.js
Original file line number Diff line number Diff line change
Expand Up @@ -1109,14 +1109,14 @@ class ImageContext {
n++;
}
if (open_and)
this.append(')'); // end ".and("
this.append(')'); // end ".and("
} // sequence

} // ImageContext

////////////////

class Pattern { // primative pattern
/*export*/ class Pattern { // primative pattern
constructor (stk, pe) {
this.stk = stk;
this.p = pe;
Expand Down Expand Up @@ -1180,7 +1180,6 @@ class Pattern { // primative pattern
for (let i = 0; i < arguments.length; i++) {
let r = arguments[i];
if (is_str(r) || is_func(r)) {
// XXX handle function returning pattern??
lstk++;
lp = pe_alt(lp.copy(), sfv_to_pe('or', r));
}
Expand Down

0 comments on commit 609c7fc

Please sign in to comment.