[Rpm-maint] [rpm-software-management/rpm] Add ternary operator support to expression parser (#838)

pavlinamv notifications at github.com
Tue Sep 17 09:57:50 UTC 2019


I think that adding ternary operator support to the expression parser is useful and it will not cause problems in the parsing of the existing expressions. 

There is one thing that can be improved -cases like:
 ```
--eval '%{expr: 1 ?}'
--eval '%{expr: 0 ? 3 : }'
```

  returns an error, but without any message. It can be improved.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/838#issuecomment-532151451
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190917/272790c2/attachment.html>


More information about the Rpm-maint mailing list