pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Import antlr-2.7.7 as wip/antlr.



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <bacon4000%gmail.com@localhost>
Pushed By:	outpaddling
Date:		Wed May 11 12:33:52 2016 -0500
Changeset:	165be019d5a146f889fd9e3b3e67a72a8d326dac

Added Files:
	antlr/DESCR
	antlr/Makefile
	antlr/PLIST
	antlr/TODO
	antlr/buildlink3.mk
	antlr/distinfo
	antlr/files/antlr.sh.in
	antlr/patches/patch-configure
	antlr/patches/patch-lib__cpp__antlr__ANTLRException.hpp
	antlr/patches/patch-lib_cpp_antlr_CharScanner.hpp

Log Message:
Import antlr-2.7.7 as wip/antlr.

ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a
language tool that provides a framework for constructing recognizers,
compilers, and translators from grammatical descriptions containing
C++ or Java actions.

WWW: http://www.antlr2.org

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=165be019d5a146f889fd9e3b3e67a72a8d326dac

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 antlr/DESCR                                        |   6 +
 antlr/Makefile                                     | 119 +++++++++++++++
 antlr/PLIST                                        |  81 ++++++++++
 antlr/TODO                                         |   1 +
 antlr/buildlink3.mk                                |  12 ++
 antlr/distinfo                                     |   9 ++
 antlr/files/antlr.sh.in                            |   5 +
 antlr/patches/patch-configure                      | 166 +++++++++++++++++++++
 .../patch-lib__cpp__antlr__ANTLRException.hpp      |  12 ++
 antlr/patches/patch-lib_cpp_antlr_CharScanner.hpp  |  14 ++
 10 files changed, 425 insertions(+)

diffs:
diff --git a/antlr/DESCR b/antlr/DESCR
new file mode 100644
index 0000000..dc3e4d5
--- /dev/null
+++ b/antlr/DESCR
@@ -0,0 +1,6 @@
+ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a
+language tool that provides a framework for constructing recognizers,
+compilers, and translators from grammatical descriptions containing
+C++ or Java actions.
+
+WWW: http://www.antlr2.org
diff --git a/antlr/Makefile b/antlr/Makefile
new file mode 100644
index 0000000..e9ea8ce
--- /dev/null
+++ b/antlr/Makefile
@@ -0,0 +1,119 @@
+# $NetBSD$
+
+###########################################################
+#               Generated by fbsd2pkg                     #
+###########################################################
+
+###########################################################
+# Unconverted and partially converted FreeBSD port syntax:
+
+#CONFLICTS=	pccts-[0-9]*
+#USE_JAVA=	yes
+#JAVA_VERSION=	1.6+
+#PORT_CLASSPATH=	${WRKSRC}/antlrall.jar:.
+#SUB_FILES=	antlr.sh
+#OPTIONS_DEFINE=	PYTHON DOCS
+#OPTIONS_SUB=	yes
+#.include <bsd.port.options.mk>
+#.if ${PORT_OPTIONS:MPYTHON}
+# Unknown tool: USE_TOOLS=	python
+#PORTDOCS+=	python-runtime.html
+#ANTLR_PYTHON=	${WRKSRC}/lib/python
+#.endif
+#post-configure:
+#.if ${PORT_OPTIONS:MPYTHON}
+#	(cd ${ANTLR_PYTHON} && ${PYTHON_CMD} setup.py config)
+#.endif
+#.if defined(WITH_BUILT_JAVA_LIB)
+#pre-build:
+#	(cd ${WRKSRC} && ${JAVA} -classpath "${PORT_CLASSPATH}" antlr.build.Tool build)
+#	(cd ${WRKSRC} && ${JAVA} -classpath "${PORT_CLASSPATH}" antlr.build.Tool jar)
+#.endif
+#.if ${PORT_OPTIONS:MPYTHON}
+#post-build:
+#	(cd ${ANTLR_PYTHON} && ${PYTHON_CMD} setup.py build && \
+#	${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${ANTLR_PYTHON})
+#.endif
+#.if ${PORT_OPTIONS:MPYTHON}
+#	@(cd ${ANTLR_PYTHON} && ${PYTHON_CMD} setup.py install --root=${DESTDIR})
+#.endif
+
+DISTNAME=	antlr-${PORTVERSION}
+CATEGORIES=	devel
+MASTER_SITES=	http://www.antlr2.org/download/
+
+MAINTAINER=	bacon4000%gmail.com@localhost
+
+COMMENT=	ANother Tool for Language Recognition
+#LICENSE=	
+
+HAS_CONFIGURE=	yes
+# Needs java and javac or gcj?
+# On CentOS, yum install java-1.7.0-openjdk-devel.x86_64 or similar
+# pkgsrc openjdk package does not build on Linux
+# FIXME: Add a check here to notify users trying to install
+USE_JAVA=	yes
+
+# Pessimistic assumption.  Test and change if possible.
+MAKE_JOBS_SAFE=	no
+
+#ONLY_FOR_PLATFORM=	
+
+# Just assuming C and C++: Adjust this!
+USE_LANGUAGES=	c c++
+USE_TOOLS+=	gmake
+
+CONFIGURE_ENV=	JAVAC="${JAVAC}" JAR="${JAR}" JAVA="${JAVA}" CLASSPATH="${PORT_CLASSPATH}"
+
+CONFIGURE_ARGS=	--disable-csharp --prefix=${PREFIX}
+
+PORTVERSION=	2.7.7
+DATADIR=	${PREFIX}/share/antlr
+DOCSDIR=	${PREFIX}/share/doc/antlr
+PORTDOCS=	ANTLRException.gif closure.gif cpp-runtime.html \
+		csharp-runtime.html err.html glossary.html hidden.stream.gif \
+		index.html inheritance.html j-guru-blue.jpg jguru-logo.gif \
+		lexer.html lexer.to.parser.tokens.gif logo.gif metalang.html \
+		optional.gif options.html posclosure.gif runtime.html sor.html \
+		stream.perspectives.gif stream.selector.gif \
+		stream.splitter.gif streams.html subrule.gif trees.html \
+		vocab.html
+
+# /usr/ports/Mk/bsd/java.mk
+JAVAJARDIR=	${PREFIX}/share/java/classes
+JAVA_VERSION=	1.6
+
+# Hack to simulate FreeBSD's SUB feature.  Is there a canonical way to handle
+# this in pkgsrc?
+SUBST_CLASSES+=	sh
+SUBST_FILES.sh=	${WRKDIR}/antlr.sh
+SUBST_STAGE.sh=	post-patch
+SUBST_SED.sh=	-e 's|%%JAVA_VERSION%%|${JAVA_VERSION}|' \
+		-e 's|%%LOCALBASE%%/bin/java|java|' \
+		-e 's|%%JAVAJARDIR%%|${JAVAJARDIR}|'
+
+# Keep this if there are user-selectable options.
+#.include "options.mk"
+
+# Note: Depends on PLIST.
+#AUTO_MKDIRS=	yes
+
+post-extract:
+	(cd ${WRKSRC} && ${CP} antlr.jar antlrall.jar)
+	cp ${FILESDIR}/antlr.sh.in ${WRKDIR}/antlr.sh
+
+do-install:
+	@${MKDIR} ${DESTDIR}${JAVAJARDIR}
+	@${MKDIR} ${DESTDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/antlr.jar ${DESTDIR}${JAVAJARDIR}
+	${INSTALL_SCRIPT} ${WRKDIR}/antlr.sh ${DESTDIR}${PREFIX}/bin/antlr
+	@${MKDIR} ${DESTDIR}${PREFIX}/include/antlr
+	${INSTALL_DATA} ${WRKSRC}/lib/cpp/antlr/*.hpp \
+		${DESTDIR}${PREFIX}/include/antlr
+	@${MKDIR} ${DESTDIR}${PREFIX}/lib
+	${INSTALL_DATA} ${WRKSRC}/lib/cpp/src/libantlr.a ${DESTDIR}${PREFIX}/lib
+	@${MKDIR} ${DESTDIR}${DOCSDIR}
+	(cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${DESTDIR}${DOCSDIR})
+
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/antlr/PLIST b/antlr/PLIST
new file mode 100644
index 0000000..63d4200
--- /dev/null
+++ b/antlr/PLIST
@@ -0,0 +1,81 @@
+@comment $NetBSD$
+bin/antlr
+include/antlr/ANTLRException.hpp
+include/antlr/ANTLRUtil.hpp
+include/antlr/ASTArray.hpp
+include/antlr/ASTFactory.hpp
+include/antlr/AST.hpp
+include/antlr/ASTNULLType.hpp
+include/antlr/ASTPair.hpp
+include/antlr/ASTRefCount.hpp
+include/antlr/BaseAST.hpp
+include/antlr/BitSet.hpp
+include/antlr/CharBuffer.hpp
+include/antlr/CharInputBuffer.hpp
+include/antlr/CharScanner.hpp
+include/antlr/CharStreamException.hpp
+include/antlr/CharStreamIOException.hpp
+include/antlr/CircularQueue.hpp
+include/antlr/CommonAST.hpp
+include/antlr/CommonASTWithHiddenTokens.hpp
+include/antlr/CommonHiddenStreamToken.hpp
+include/antlr/CommonToken.hpp
+include/antlr/config.hpp
+include/antlr/InputBuffer.hpp
+include/antlr/IOException.hpp
+include/antlr/LexerSharedInputState.hpp
+include/antlr/LLkParser.hpp
+include/antlr/MismatchedCharException.hpp
+include/antlr/MismatchedTokenException.hpp
+include/antlr/NoViableAltException.hpp
+include/antlr/NoViableAltForCharException.hpp
+include/antlr/Parser.hpp
+include/antlr/ParserSharedInputState.hpp
+include/antlr/RecognitionException.hpp
+include/antlr/RefCount.hpp
+include/antlr/SemanticException.hpp
+include/antlr/String.hpp
+include/antlr/TokenBuffer.hpp
+include/antlr/Token.hpp
+include/antlr/TokenRefCount.hpp
+include/antlr/TokenStreamBasicFilter.hpp
+include/antlr/TokenStreamException.hpp
+include/antlr/TokenStreamHiddenTokenFilter.hpp
+include/antlr/TokenStream.hpp
+include/antlr/TokenStreamIOException.hpp
+include/antlr/TokenStreamRecognitionException.hpp
+include/antlr/TokenStreamRetryException.hpp
+include/antlr/TokenStreamRewriteEngine.hpp
+include/antlr/TokenStreamSelector.hpp
+include/antlr/TokenWithIndex.hpp
+include/antlr/TreeParser.hpp
+include/antlr/TreeParserSharedInputState.hpp
+lib/libantlr.a
+share/doc/antlr/ANTLRException.gif
+share/doc/antlr/closure.gif
+share/doc/antlr/cpp-runtime.html
+share/doc/antlr/csharp-runtime.html
+share/doc/antlr/err.html
+share/doc/antlr/glossary.html
+share/doc/antlr/hidden.stream.gif
+share/doc/antlr/index.html
+share/doc/antlr/inheritance.html
+share/doc/antlr/j-guru-blue.jpg
+share/doc/antlr/jguru-logo.gif
+share/doc/antlr/lexer.html
+share/doc/antlr/lexer.to.parser.tokens.gif
+share/doc/antlr/logo.gif
+share/doc/antlr/metalang.html
+share/doc/antlr/optional.gif
+share/doc/antlr/options.html
+share/doc/antlr/posclosure.gif
+share/doc/antlr/runtime.html
+share/doc/antlr/sor.html
+share/doc/antlr/stream.perspectives.gif
+share/doc/antlr/stream.selector.gif
+share/doc/antlr/streams.html
+share/doc/antlr/stream.splitter.gif
+share/doc/antlr/subrule.gif
+share/doc/antlr/trees.html
+share/doc/antlr/vocab.html
+share/java/classes/antlr.jar
diff --git a/antlr/TODO b/antlr/TODO
new file mode 100644
index 0000000..b687356
--- /dev/null
+++ b/antlr/TODO
@@ -0,0 +1 @@
+Clean up and test
diff --git a/antlr/buildlink3.mk b/antlr/buildlink3.mk
new file mode 100644
index 0000000..6bd97c4
--- /dev/null
+++ b/antlr/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	antlr
+
+.if !defined(ANTLR_BUILDLINK3_MK)
+ANTLR_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.antlr+=	antlr>=2.7.7
+BUILDLINK_PKGSRCDIR.antlr?=	../../wip/antlr
+.endif	# ANTLR_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-antlr
diff --git a/antlr/distinfo b/antlr/distinfo
new file mode 100644
index 0000000..941e05b
--- /dev/null
+++ b/antlr/distinfo
@@ -0,0 +1,9 @@
+$NetBSD$
+
+SHA1 (antlr-2.7.7.tar.gz) = 802655c343cc7806aaf1ec2177a0e663ff209de1
+RMD160 (antlr-2.7.7.tar.gz) = 0b7951a28b748e912721fe0f6de4095d9f8da57d
+SHA512 (antlr-2.7.7.tar.gz) = faa72d2ddcba434ef1233e70c1549e63eba67c00793966322e821cf7f015cccb804448cb92d8fbef0429f59928fad65ec954f8ffbda0acbb8e983de0806d349d
+Size (antlr-2.7.7.tar.gz) = 1816180 bytes
+SHA1 (patch-configure) = a5d6e045c92aad831e508e09a2f2d0e3beb6a01a
+SHA1 (patch-lib__cpp__antlr__ANTLRException.hpp) = 709c99df34c490746dad430c622d826ede8c617f
+SHA1 (patch-lib_cpp_antlr_CharScanner.hpp) = f92641d734ecf85043fb09e6f6750413adfac039
diff --git a/antlr/files/antlr.sh.in b/antlr/files/antlr.sh.in
new file mode 100644
index 0000000..4dd3b94
--- /dev/null
+++ b/antlr/files/antlr.sh.in
@@ -0,0 +1,5 @@
+#! /bin/sh
+#
+# $FreeBSD: head/devel/antlr/files/antlr.sh.in 350206 2014-04-05 08:01:26Z pawel $
+
+JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -classpath "%%JAVAJARDIR%%/antlr.jar" antlr.Tool "$@"
diff --git a/antlr/patches/patch-configure b/antlr/patches/patch-configure
new file mode 100644
index 0000000..27960e9
--- /dev/null
+++ b/antlr/patches/patch-configure
@@ -0,0 +1,166 @@
+$NetBSD$
+
+$FreeBSD: head/devel/antlr/files/patch-configure 340725 2014-01-22 17:40:44Z mat $
+
+--- configure.orig	2006-11-01 21:37:18.000000000 +0000
++++ configure
+@@ -2234,7 +2234,7 @@ echo "${ECHO_T}$as_dir/$ac_word$ac_exec_
+              fi
+            done
+           done
+-          test "x$as_found" == "x" && {
++          test "x$as_found" = "x" && {
+             echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+             echo "$as_me:$LINENO: result: no" >&5
+@@ -2299,7 +2299,7 @@ echo "${ECHO_T}$as_dir/$ac_word$ac_exec_
+              fi
+            done
+           done
+-          test "x$as_found" == "x" && {
++          test "x$as_found" = "x" && {
+             echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+             echo "$as_me:$LINENO: result: no" >&5
+@@ -2364,7 +2364,7 @@ echo "${ECHO_T}$as_dir/$ac_word$ac_exec_
+              fi
+            done
+           done
+-          test "x$as_found" == "x" && {
++          test "x$as_found" = "x" && {
+             echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+             echo "$as_me:$LINENO: result: no" >&5
+@@ -2461,7 +2461,7 @@ echo "${ECHO_T}$as_dir/$ac_word$ac_exec_
+              fi
+            done
+           done
+-          test "x$as_found" == "x" && {
++          test "x$as_found" = "x" && {
+             echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+             echo "$as_me:$LINENO: result: no" >&5
+@@ -2486,13 +2486,13 @@ echo "$as_me: error: no suitable value h
+ 
+ ## right now we need to have a GNU make around, other makes are
+ ## not supported and likely to fail.
+-if test "x${user_make}" == "x" ; then
++if test "x${user_make}" = "x" ; then
+ 
+     #Search all the common names for GNU make
+     ax_gnu_make_list="${MAKE}"
+     MAKE=
+     for a in . ${ax_gnu_make_list} ; do
+-      if test "$a" == "." ; then
++      if test "$a" = "." ; then
+         continue
+       fi
+       echo "$as_me:$LINENO: checking whether ${a} is GNU make" >&5
+@@ -2508,7 +2508,7 @@ echo "${ECHO_T}no" >&6
+       fi
+     done
+     ## handle search result
+-    if test  "x${MAKE}" == "x"  ; then
++    if test  "x${MAKE}" = "x"  ; then
+       :
+       { { echo "$as_me:$LINENO: error: package requires GNU make" >&5
+ echo "$as_me: error: package requires GNU make" >&2;}
+@@ -2641,7 +2641,7 @@ echo "${ECHO_T}$as_dir/$ac_word$ac_exec_
+              fi
+            done
+           done
+-          test "x$as_found" == "x" && {
++          test "x$as_found" = "x" && {
+             echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+             echo "$as_me:$LINENO: result: no" >&5
+@@ -2726,7 +2726,7 @@ echo "${ECHO_T}$as_dir/$ac_word$ac_exec_
+              fi
+            done
+           done
+-          test "x$as_found" == "x" && {
++          test "x$as_found" = "x" && {
+             echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+             echo "$as_me:$LINENO: result: no" >&5
+@@ -2811,7 +2811,7 @@ echo "${ECHO_T}$as_dir/$ac_word$ac_exec_
+              fi
+            done
+           done
+-          test "x$as_found" == "x" && {
++          test "x$as_found" = "x" && {
+             echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+             echo "$as_me:$LINENO: result: no" >&5
+@@ -3036,7 +3036,7 @@ echo "${ECHO_T}$as_dir/$ac_word$ac_exec_
+              fi
+            done
+           done
+-          test "x$as_found" == "x" && {
++          test "x$as_found" = "x" && {
+             echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+             echo "$as_me:$LINENO: result: no" >&5
+@@ -5808,7 +5808,7 @@ echo "${ECHO_T}$as_dir/$ac_word$ac_exec_
+              fi
+            done
+           done
+-          test "x$as_found" == "x" && {
++          test "x$as_found" = "x" && {
+             echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+             echo "$as_me:$LINENO: result: no" >&5
+@@ -5879,7 +5879,7 @@ echo "${ECHO_T}$as_dir/$ac_word$ac_exec_
+              fi
+            done
+           done
+-          test "x$as_found" == "x" && {
++          test "x$as_found" = "x" && {
+             echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+             echo "$as_me:$LINENO: result: no" >&5
+@@ -6122,7 +6122,7 @@ echo "${ECHO_T}$as_dir/$ac_word$ac_exec_
+              fi
+            done
+           done
+-          test "x$as_found" == "x" && {
++          test "x$as_found" = "x" && {
+             echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+             echo "$as_me:$LINENO: result: no" >&5
+@@ -6241,7 +6241,7 @@ echo "${ECHO_T}$as_dir/$ac_word$ac_exec_
+              fi
+            done
+           done
+-          test "x$as_found" == "x" && {
++          test "x$as_found" = "x" && {
+             echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+             echo "$as_me:$LINENO: result: no" >&5
+@@ -6336,7 +6336,7 @@ echo "${ECHO_T}$as_dir/$ac_word$ac_exec_
+              fi
+            done
+           done
+-          test "x$as_found" == "x" && {
++          test "x$as_found" = "x" && {
+             echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+             echo "$as_me:$LINENO: result: no" >&5
+@@ -6423,7 +6423,7 @@ echo "${ECHO_T}$as_dir/$ac_word$ac_exec_
+              fi
+            done
+           done
+-          test "x$as_found" == "x" && {
++          test "x$as_found" = "x" && {
+             echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+             echo "$as_me:$LINENO: result: no" >&5
+@@ -6733,7 +6733,7 @@ case $LANG_JAVA in
+     ## This variables can be used in antlr/Makefile
+ 
+     file_list="${ANTLR_ACTION_FILES} ${ANTLR_ANTLR_FILES} ${ANTLR_TOKDEF_FILES}"
+-    if test "x${file_list}" == "x" ; then
++    if test "x${file_list}" = "x" ; then
+       :
+     else
+       ANTLR_CONFIG_FILES=""
diff --git a/antlr/patches/patch-lib__cpp__antlr__ANTLRException.hpp b/antlr/patches/patch-lib__cpp__antlr__ANTLRException.hpp
new file mode 100644
index 0000000..0ec824f
--- /dev/null
+++ b/antlr/patches/patch-lib__cpp__antlr__ANTLRException.hpp
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- lib/cpp/antlr/ANTLRException.hpp.orig	2006-11-01 21:37:17.000000000 +0000
++++ lib/cpp/antlr/ANTLRException.hpp
+@@ -9,6 +9,7 @@
+  */
+ 
+ #include <antlr/config.hpp>
++#include <exception>
+ #include <string>
+ 
+ #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
diff --git a/antlr/patches/patch-lib_cpp_antlr_CharScanner.hpp b/antlr/patches/patch-lib_cpp_antlr_CharScanner.hpp
new file mode 100644
index 0000000..93dcbb8
--- /dev/null
+++ b/antlr/patches/patch-lib_cpp_antlr_CharScanner.hpp
@@ -0,0 +1,14 @@
+$NetBSD$
+
+--- lib/cpp/antlr/CharScanner.hpp.orig	2006-11-01 21:37:17.000000000 +0000
++++ lib/cpp/antlr/CharScanner.hpp
+@@ -24,6 +24,9 @@
+ # include <stdio.h>
+ #endif
+ 
++#include <cstdio>
++#include <cstring>
++
+ #include <antlr/TokenStream.hpp>
+ #include <antlr/RecognitionException.hpp>
+ #include <antlr/SemanticException.hpp>


Home | Main Index | Thread Index | Old Index