Пример #1
0
    public CcsScanner_t(CcsErrorPool_t errpool, string filename)
    {
        Stream stream;

        this.errpool = errpool;
        stream       = new FileStream(filename, FileMode.Open);
        dummyToken   = new CcsToken_t(0, 0, 0, 0, "dummy");
        buffer       = new CcsBuffer_t(stream);
        Init();
    }
Пример #2
0
 public CcsScanner_t(CcsErrorPool_t errpool, string filename)
 {
     Stream stream;
     this.errpool = errpool;
     stream = new FileStream(filename, FileMode.Open);
     dummyToken = new CcsToken_t(0, 0, 0, 0, "dummy");
     buffer = new CcsBuffer_t(stream);
     Init();
 }