Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#163 C/C++ language: #elsif should be #elseif

closed-fixed
Andre-Littoz
5
2011-03-17
2010-11-23
dcochlin
No

- generic.conf should define #elseif instead of #elsif.
- Python language could use a triple quote comment
'comment' => ('"""', '"""'),

Discussion

  • Damian Nycz
    Damian Nycz
    2011-01-29

    In C/C++ language there is no '#elseif' nor '#elsif';
    there is '#elif';
    generic.conf should define '#elif' instead of '#elsif'.
    There is missing '#line' directive in C/C++.
    There is missing 'compl' C++ keyword.

     
  • Andre-Littoz
    Andre-Littoz
    2011-03-11

    • assigned_to: nobody --> ajlittoz
     
  • Andre-Littoz
    Andre-Littoz
    2011-03-13

    • status: open --> pending-later
     
  • Andre-Littoz
    Andre-Littoz
    2011-03-13

    The directive is #elif, not #elseif nor #elsif.
    The correct word has been put into the projected generic.conf. However, since there is a lot of work on generic.conf related to generic parsing, this minor correction is postponed to the parsing issue release.

     
  • Andre-Littoz
    Andre-Littoz
    2011-03-17

    The parser has been fixed. At the same time #elif has been put in the reserved words for C and C++ in lieu of #elsif.

     
  • Andre-Littoz
    Andre-Littoz
    2011-03-17

    • status: pending-later --> closed-fixed
     
  • Andre-Littoz
    Andre-Littoz
    2011-03-17

    This has now been fixed in CVS.

    If you can install the new version and check that it solves your
    problem, then it would be very useful.

    Thanks for reporting this defect and helping to make LXR better.