Mercurial > hg > Applications > Grep
comparison c/regexParser/error.cc @ 115:ca30f8334741 pairPro
rename createRegexParser.cc to regexParser.cc
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 24 Nov 2015 14:38:26 +0900 |
parents | c82e7a7ef8d9 |
children | 66c633575b53 |
comparison
equal
deleted
inserted
replaced
114:c82e7a7ef8d9 | 115:ca30f8334741 |
---|---|
1 #include <stdio.h> | 1 #include <stdio.h> |
2 | |
3 void mallocFailedMessage(); | |
4 | 2 |
5 void mallocFailedMessage() { | 3 void mallocFailedMessage() { |
6 fprintf(stderr, "Failed to allocate memory.\n"); | 4 fprintf(stderr, "Failed to allocate memory.\n"); |
7 exit(-1); | 5 exit(-1); |
8 } | 6 } |