Skip to content

Commit

Permalink
decorate bare identifier terms in case they name functions
Browse files Browse the repository at this point in the history
  • Loading branch information
dalnefre committed Sep 9, 2024
1 parent ba63990 commit 33c2ec2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hum_xlat.js
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,10 @@ var constructor = function Hum_Xlat(generator) {

advance();
term = Actor(ident_expr_beh(ident), ident);
term = annotate(term, {
first: first,
last: clone(token)
});
term = mk_call(term);
} else if (token.value === '(') { // grouping
advance();
Expand Down

0 comments on commit 33c2ec2

Please sign in to comment.