#76 Ternary conditional expressions not simplified.

v5.2
closed-fixed
None
7
2014-08-31
2013-10-13
No

Coan does not simplify ?: expressions that are insoluble but can be simplified, e.g. given commandline option -DFOO=1 the directive:

#if defined(FOO) ? BAR : FOO

should be simplified to:

#if BAR

but is left unchanged.

Discussion

  • Mike Kinghan

    Mike Kinghan - 2014-08-31

    Closed in v6.0

     
  • Mike Kinghan

    Mike Kinghan - 2014-08-31
    • status: open --> closed-fixed
     

Log in to post a comment.