?login_element?

Subversion Repositories NedoOS

Rev

Rev 8 | Blame | Compare with Previous | Last modification | View Log | Download

  1. #include <stdio.h>
  2.  
  3. #include "../_sdk/nedodefs.h" //C only
  4.  
  5. #include "../_sdk/emit.c" //эєцэю фы  compile ш asm (шэрўх эх т√тхёЄш ю°шсъш)
  6.  
  7. #include "../_sdk/read.c" //эєцэю фы  compile ш token
  8.  
  9. #include "../_sdk/fmttg.h" //эєцэю фы  token, asm, export
  10.  
  11. #ifdef TARGET_THUMB
  12. #include "tokenarm.c"
  13. #else
  14. #include "tokenz80.c"
  15. #endif
  16.  
  17. #include "token.c"
  18.  
  19. int main(int argc,char* argv[])
  20. {
  21.   int i;
  22.   char *filename;
  23.  
  24.   tokinit();
  25.   for (i=1; i<argc; i++) {
  26.     filename = argv[i];
  27.     tokenize(filename); //("asm.f");
  28.   }; //for
  29.   tokenize_end();
  30.  
  31.   return 0;
  32. }
  33.