summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am4
-rw-r--r--src/inputdata.cc4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 6fa1cfd9..8b7bf2bd 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -59,8 +59,8 @@ BUILT_SOURCES += \
endif
version.h: Makefile
- echo '#define RAGEL_VERSION "@RAGEL_VERSION@"' > version.h
- echo '#define RAGEL_PUBDATE "@RAGEL_PUBDATE@"' >> version.h
+ echo '#define VERSION "@VERSION@"' > version.h
+ echo '#define PUBDATE "@PUBDATE@"' >> version.h
EXTRA_DIST = \
$(RAGEL_LM) \
diff --git a/src/inputdata.cc b/src/inputdata.cc
index 33a0b5b8..d260d951 100644
--- a/src/inputdata.cc
+++ b/src/inputdata.cc
@@ -647,8 +647,8 @@ void InputData::usage()
/* Print version information and exit. */
void InputData::version()
{
- info() << "Ragel State Machine Compiler version " RAGEL_VERSION << " " RAGEL_PUBDATE << endl <<
- "Copyright (c) 2001-2019 by Adrian Thurston et al." << endl;
+ info() << "Ragel State Machine Compiler version " VERSION << " " PUBDATE << endl <<
+ "Copyright (c) 2001-2021 by Dr. Adrian D. Thurston et al." << endl;
abortCompile( 0 );
}