view regexParser/error.cc @ 245:d34de5edaa96

add threadedSearch.cc
author Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
date Thu, 21 Jan 2016 19:35:33 +0900
parents ecf70fb215a5
children
line wrap: on
line source

#include <stdio.h>
#include <stdlib.h>

void errorMassege(const char* ers,int lineNum,const char* filename) {
    fprintf(stderr, "%s:%d: error: %s\n",filename,lineNum,ers);
    exit(-1);
}