mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
Changes to build successfully with GCC 3.02
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1503 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -8,6 +8,7 @@
|
||||
#include "llvm/Module.h"
|
||||
#include "ParserInternals.h"
|
||||
#include <stdio.h> // for sprintf
|
||||
using std::string;
|
||||
|
||||
// The useful interface defined by this file... Parse an ascii file, and return
|
||||
// the internal representation in a nice slice'n'dice'able representation.
|
||||
@ -30,7 +31,7 @@ Module *ParseAssemblyFile(const string &Filename) { // throw (ParseException)
|
||||
fclose(F);
|
||||
|
||||
if (Result) { // Check to see that it is valid...
|
||||
vector<string> Errors;
|
||||
std::vector<string> Errors;
|
||||
if (verify(Result, Errors)) {
|
||||
delete Result; Result = 0;
|
||||
string Message;
|
||||
|
Reference in New Issue
Block a user