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
036a7356
Commit
036a7356
authored
Apr 20, 2012
by
alokp@chromium.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not return newline and number sign. They are for internal purposes only.
git-svn-id:
https://angleproject.googlecode.com/svn/trunk@1048
736b8ea6-26fd-11df-bfd4-992fa37f6226
parent
78a35198
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
Preprocessor.cpp
src/compiler/preprocessor/new/Preprocessor.cpp
+8
-1
No files found.
src/compiler/preprocessor/new/Preprocessor.cpp
View file @
036a7356
...
@@ -18,7 +18,14 @@ bool Preprocessor::init(int count,
...
@@ -18,7 +18,14 @@ bool Preprocessor::init(int count,
int
Preprocessor
::
lex
(
Token
*
token
)
int
Preprocessor
::
lex
(
Token
*
token
)
{
{
return
mLexer
.
lex
(
token
);
int
ret
=
mLexer
.
lex
(
token
);
// TODO(alokp): Handle preprocessor directives. Ignore them for now.
while
((
ret
==
'\n'
)
||
(
ret
==
'#'
))
{
ret
=
mLexer
.
lex
(
token
);
}
return
ret
;
}
}
}
// namespace pp
}
// namespace pp
...
...
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