view regexParser/error.cc @ 257:ebb429c2b6a7

fix allocate state in generateTransition
author Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
date Mon, 25 Jan 2016 19:20:32 +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);
}