Changeset 37f527b in mainline for uspace/app/sbi/src/main.c
- Timestamp:
- 2010-03-26T21:55:23Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4204ad9
- Parents:
- b535aeb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/sbi/src/main.c
rb535aeb r37f527b 33 33 #include "ancr.h" 34 34 #include "builtin.h" 35 #include "imode.h" 35 36 #include "mytypes.h" 36 37 #include "strtab.h" … … 54 55 int rc; 55 56 57 if (argc == 1) { 58 /* Enter interactive mode */ 59 strtab_init(); 60 imode_run(); 61 return 0; 62 } 63 56 64 if (argc != 2) { 57 65 syntax_print(); … … 59 67 } 60 68 61 rc = input_new (&input, argv[1]);69 rc = input_new_file(&input, argv[1]); 62 70 if (rc != EOK) { 63 71 printf("Failed opening source file '%s'.\n", argv[1]);
Note:
See TracChangeset
for help on using the changeset viewer.