From ec665c1b905ee2a1287a0f3e069f4fe46ed53a16 Mon Sep 17 00:00:00 2001 From: Mike Lischke Date: Thu, 3 Jan 2019 10:39:59 +0100 Subject: [PATCH] A small fix in the C++ documentation. --- doc/cpp-target.md | 2 +- runtime/Cpp/demo/Mac/antlrcpp-demo.xcodeproj/project.pbxproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/cpp-target.md b/doc/cpp-target.md index 2933d606e..eec7cf88b 100644 --- a/doc/cpp-target.md +++ b/doc/cpp-target.md @@ -45,7 +45,7 @@ The generation step above created a listener and base listener class for you. Th #include "MyGrammarParser.h" #include "MyGrammarBaseListener.h" -using namespace org::antlr::v4::runtime; +using namespace antlr4; class TreeShapeListener : public MyGrammarBaseListener { public: diff --git a/runtime/Cpp/demo/Mac/antlrcpp-demo.xcodeproj/project.pbxproj b/runtime/Cpp/demo/Mac/antlrcpp-demo.xcodeproj/project.pbxproj index 77ad3f4f7..5f136b03e 100644 --- a/runtime/Cpp/demo/Mac/antlrcpp-demo.xcodeproj/project.pbxproj +++ b/runtime/Cpp/demo/Mac/antlrcpp-demo.xcodeproj/project.pbxproj @@ -332,7 +332,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "pushd ..\nif [ TParser.g4 -nt generated/TParser.cpp -o TLexer.g4 -nt generated/TLexer.cpp ]; then\n./generate.sh;\nfi\npopd"; + shellScript = "pushd ..\nif [ TParser.g4 -nt generated/TParser.cpp -o TLexer.g4 -nt generated/TLexer.cpp ]; then\n./generate.sh;\nfi\npopd\n"; showEnvVarsInLog = 0; }; /* End PBXShellScriptBuildPhase section */