From 40bb451c94a00502358546214d6d00a7c523c31d Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Fri, 18 Aug 2006 09:07:54 +0000 Subject: For PR797: Update to reflect ParseException becoming ParseError (from Parser.h) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29766 91177308-0d34-0410-b5e6-96231b3b80d8 --- projects/Stacker/lib/compiler/StackerCompiler.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'projects/Stacker/lib/compiler/StackerCompiler.cpp') diff --git a/projects/Stacker/lib/compiler/StackerCompiler.cpp b/projects/Stacker/lib/compiler/StackerCompiler.cpp index b9e41a889c..a6d3995045 100644 --- a/projects/Stacker/lib/compiler/StackerCompiler.cpp +++ b/projects/Stacker/lib/compiler/StackerCompiler.cpp @@ -110,8 +110,9 @@ StackerCompiler::compile( if (F == 0) { - throw ParseException(filename, - "Could not open file '" + filename + "'"); + ParseError Err; + Err.setError(filename, "Could not open file '" + filename + "'"); + throw Err; } } -- cgit v1.2.3-70-g09d2