source: proto/parabix2/src/ErrorUtil.h @ 1478

Last change on this file since 1478 was 1478, checked in by ksherdy, 8 years ago

Deleted .cpp files.

File size: 308 bytes
Line 
1/*
2 * ErrorUtil.h
3 *
4 *  Created on: 2011-09-14
5 */
6
7#ifndef ERRORUTIL_H_
8#define ERRORUTIL_H_
9
10#include <stdio.h>
11
12void ReportError(const char * error_msg, int error_line, int error_column) {
13  fprintf(stderr, "%s at line %i, column %i\n", error_msg, error_line, error_column);
14}
15
16#endif /* ERRORUTIL_H_ */
Note: See TracBrowser for help on using the repository browser.