Menu

Old-style C code functions don't show

2007-01-11
2012-11-13
  • Nobody/Anonymous

    In the functions list-plugin, when viewing old-style c code, the functions doesn't show.

    Once upon a time, code was styled as this:

    int
    main(argc, argv)
        int    argc;
        char    *argv[];
    {
       ...
    }

    instead of the modern:
    int main(int argc, char *argv[]){
       ...
    }

    For a working example, lookup the source for cron.

     
    • Nobody/Anonymous

      Yes, indeed it is not supported and it will not be supported.

      This doesn't work also:

      int main (
          int argc,
          char *argv[]
      )
      {
      }

      This depends on scintilla regex search.

      Best Regards
      Jens