shithub: orca

Download patch

ref: 355051722b180570441bacc180e75709fa423b1c
parent: c6d981d35bb7b93b9b43e1920d45a71f00328dd3
author: cmaughan <mornymorny@gmail.com>
date: Tue Mar 24 06:05:34 EDT 2020

Fix Variable

Inputs on the right side of the operator are not marked with PARAM
(which denotes a haste input).  This fixes the display of the variable
operator so that the text on the right is displayed white and not cyan;
which matches Orca.

--- a/sim.c
+++ b/sim.c
@@ -671,7 +671,7 @@
 BEGIN_OPERATOR(variable)
   LOWERCASE_REQUIRES_BANG;
   PORT(0, -1, IN | PARAM);
-  PORT(0, 1, IN | PARAM);
+  PORT(0, 1, IN);
   Glyph left = PEEK(0, -1);
   Glyph right = PEEK(0, 1);
   if (left != '.') {