Skip to content

Commit

Permalink
Generated error messages for slotted expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
ZOUG authored Jul 10, 2018
1 parent 786bedd commit 2cffc9e
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,10 @@ psoa
else
replace(startIdx, 7, "sloterm");
}
else
{
throw new TranslatorException("Slotted expressions are not supported");
}
append(")");
}
| // No slots or tuples
Expand Down Expand Up @@ -311,4 +315,4 @@ constshort
| LITERAL { convertStringConst($LITERAL.text); }
| NUMBER { append($NUMBER.text); }
| LOCAL { convertLocalConst($LOCAL.text); }
;
;

0 comments on commit 2cffc9e

Please sign in to comment.