Changeset 8836a9 in git for Singular/libparse.cc


Ignore:
Timestamp:
Jan 8, 2013, 11:58:46 PM (11 years ago)
Author:
Max Horn <max@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
16735072270cd28225d49e8d896664f0b02c46e7
Parents:
d101b165f063c8f437a101b437baa6095a596422
git-author:
Max Horn <max@quendi.de>2013-01-08 23:58:46+01:00
git-committer:
Oleksandr Motsak <http://goo.gl/mcpzY>2013-01-10 16:45:07+01:00
Message:
Fix main() prototype of libparse

Conflicts:
	Singular/libparse.l
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/libparse.cc

    rd101b1 r8836a9  
    35103510
    35113511#ifdef STANDALONE_PARSER
    3512 main( int argc, char *argv[] )
     3512int main( int argc, char *argv[] )
    35133513{
    35143514  lib_style_types lib_style;
     
    35173517  {
    35183518    fprintf(stderr, "No library found to parse.\n");
    3519     exit(1);
     3519    return 1;
    35203520  }
    35213521  if (! (texinfo_out || category_out))
     
    35393539  if (texinfo_out)
    35403540    printf("1;");
    3541   exit(0);
     3541  return 0;
    35423542}
    35433543
Note: See TracChangeset for help on using the changeset viewer.