Changeset 37f527b in mainline for uspace/app/sbi/src/main.c


Ignore:
Timestamp:
2010-03-26T21:55:23Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4204ad9
Parents:
b535aeb
Message:

Update SBI to rev. 144.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/sbi/src/main.c

    rb535aeb r37f527b  
    3333#include "ancr.h"
    3434#include "builtin.h"
     35#include "imode.h"
    3536#include "mytypes.h"
    3637#include "strtab.h"
     
    5455        int rc;
    5556
     57        if (argc == 1) {
     58                /* Enter interactive mode */
     59                strtab_init();
     60                imode_run();
     61                return 0;
     62        }
     63
    5664        if (argc != 2) {
    5765                syntax_print();
     
    5967        }
    6068
    61         rc = input_new(&input, argv[1]);
     69        rc = input_new_file(&input, argv[1]);
    6270        if (rc != EOK) {
    6371                printf("Failed opening source file '%s'.\n", argv[1]);
Note: See TracChangeset for help on using the changeset viewer.