Changeset 8836a9 in git


Ignore:
Timestamp:
Jan 8, 2013, 11:58:46 PM (10 years ago)
Author:
Max Horn <max@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
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
Location:
Singular
Files:
2 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
  • Singular/libparse.ll

    rd101b1 r8836a9  
    970970
    971971#ifdef STANDALONE_PARSER
    972 main( int argc, char *argv[] )
     972int main( int argc, char *argv[] )
    973973{
    974974  lib_style_types lib_style;
     
    977977  {
    978978    fprintf(stderr, "No library found to parse.\n");
    979     exit(1);
     979    return 1;
    980980  }
    981981  if (! (texinfo_out || category_out))
     
    999999  if (texinfo_out)
    10001000    printf("1;");
    1001   exit(0);
     1001  return 0;
    10021002}
    10031003
Note: See TracChangeset for help on using the changeset viewer.