Mercurial > hg > Members > masakoha > testcode
annotate regexParser/error.cc @ 272:5aa9d01926f1
Cerium version no compile errors
author | kono |
---|---|
date | Fri, 29 Jan 2016 20:38:18 +0900 |
parents | ecf70fb215a5 |
children |
rev | line source |
---|---|
114 | 1 #include <stdio.h> |
191
02031fb73af8
remove somefiles and fix header files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
167
diff
changeset
|
2 #include <stdlib.h> |
114 | 3 |
192
ecf70fb215a5
print charclass
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
191
diff
changeset
|
4 void errorMassege(const char* ers,int lineNum,const char* filename) { |
ecf70fb215a5
print charclass
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
191
diff
changeset
|
5 fprintf(stderr, "%s:%d: error: %s\n",filename,lineNum,ers); |
114 | 6 exit(-1); |
7 } |