view regexParser/error.cc @ 296:28c695dac305

Todo
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 02 Feb 2016 11:50: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);
}