ex.h 234 B

12345678910111213
  1. #ifndef EX_H
  2. #define EX_H
  3. struct Ex{
  4. string ex; //what happened
  5. int pos; //source offset
  6. string file;
  7. Ex( const string &ex ):ex(ex),pos(-1){}
  8. Ex( const string &ex,int pos,const string &t ):ex(ex),pos(pos),file(t){}
  9. };
  10. #endif