Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
angle
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
angle
Commits
51b96855
Commit
51b96855
authored
May 30, 2012
by
alokp@chromium.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed compile errors on linux.
git-svn-id:
https://angleproject.googlecode.com/svn/trunk@1099
736b8ea6-26fd-11df-bfd4-992fa37f6226
parent
484730bc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
DirectiveParser.cpp
src/compiler/preprocessor/new/DirectiveParser.cpp
+2
-1
Macro.h
src/compiler/preprocessor/new/Macro.h
+1
-1
No files found.
src/compiler/preprocessor/new/DirectiveParser.cpp
View file @
51b96855
...
...
@@ -7,6 +7,7 @@
#include "DirectiveParser.h"
#include <cassert>
#include <cstdlib>
#include <sstream>
#include "Diagnostics.h"
...
...
@@ -218,7 +219,7 @@ void DirectiveParser::parseUndef(Token* token)
return
;
}
MacroSet
::
const_
iterator
iter
=
mMacroSet
->
find
(
token
->
value
);
MacroSet
::
iterator
iter
=
mMacroSet
->
find
(
token
->
value
);
if
(
iter
!=
mMacroSet
->
end
())
mMacroSet
->
erase
(
iter
);
...
...
src/compiler/preprocessor/new/Macro.h
View file @
51b96855
...
...
@@ -35,4 +35,4 @@ struct Macro
typedef
std
::
map
<
std
::
string
,
Macro
>
MacroSet
;
}
// namespace pp
#endif COMPILER_PREPROCESSOR_MACRO_H_
#endif
//
COMPILER_PREPROCESSOR_MACRO_H_
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment