Changeset 12743b9 for src/tok.l


Ignore:
Timestamp:
06/07/09 01:25:24 (15 years ago)
Author:
Mateusz Hromada <ruanda@…>
Branches:
master
Children:
1e551bd
Parents:
44f59b8
git-author:
Mateusz Hromada <ruanda@…> (06/07/09 01:25:24)
git-committer:
Mateusz Hromada <ruanda@…> (06/07/09 01:25:24)
Message:

Migration to new build system. All tools need to be moved to ./src
directory and checked whether can be compiled by Makefile.

  • tok moved and checked
File:
1 moved

Legend:

Unmodified
Added
Removed
  • src/tok.l

    r635ee52 r12743b9  
    22        #include <stdio.h> 
    33        #include <locale.h> 
    4         #include "cmdline.h" 
     4        #include "tok_cmdline.h" 
    55 
    66        int filepos=0; 
     
    5656%% 
    5757 
    58 main(int argc, char** argv) 
     58int main(int argc, char** argv) 
    5959{ 
    60   if (cmdline_parser(argc, argv, &args) != 0) exit(1); 
     60  if (cmdline_parser(argc, argv, &args) != 0) return 1; 
    6161  setlocale(LC_CTYPE,""); 
    6262  setlocale(LC_COLLATE,""); 
    6363  yylex(); 
     64  return 0; 
    6465} 
    6566 
Note: See TracChangeset for help on using the changeset viewer.