Menu

NSD and Flowchart C display issues

Robin S-J
2014-04-30
2014-05-02
  • Robin S-J

    Robin S-J - 2014-04-30

    NSD and Flowchart C display issues

    = in conditional tests are not display correctly i.e.:-

     if (foo >= bar)
    

    shows as

     if( foo bar)
    

    This is incorrect.

    && in conditional tests are not displayed correctly i.e.:-

    foo && bar
    

    displays as

     foo & & bar
    

    This is undesirable.

    Regards

    Robin

     
  • Eckard Klotz

    Eckard Klotz - 2014-04-30

    Hello Robin.

    Thanks for this report.

    I will define a fix. pleas give me a while. If you find in the meanwhile similar problems with other operators pleas report them here too.

    Best regards,
    Eckard.

     
  • Eckard Klotz

    Eckard Klotz - 2014-04-30

    Hello Robin.

    Pleas find attached a releas-candidate for a patch. I have changed the grammar-files called "ANSI_C_Source_XYZ_grm.a2x" and some definitions in the configuraions-files called "abc2xml_Process_ansi_cXYZ.xml"

    Exchange the sub-folder "ansi_c" in the directory "LangPack" of your distribution. You may find in the file "UserExample.c" an example what I have used to evaluate your points.

    Pleas test my patch and post a comment how it works for you.

    Best regards,
    Eckard.

     
  • Robin S-J

    Robin S-J - 2014-05-02

    The patch is good.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.