Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
glslang
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
glslang
Commits
94a89d51
Commit
94a89d51
authored
Apr 27, 2016
by
qining
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add .err file for eof_missing test
parent
19647a32
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
preprocessor.eof_missing.vert.err
Test/baseResults/preprocessor.eof_missing.vert.err
+0
-0
Scan.h
glslang/MachineIndependent/Scan.h
+4
-2
No files found.
Test/baseResults/preprocessor.eof_missing.vert.err
0 → 100644
View file @
94a89d51
glslang/MachineIndependent/Scan.h
View file @
94a89d51
...
@@ -122,7 +122,7 @@ public:
...
@@ -122,7 +122,7 @@ public:
// go back one character
// go back one character
void
unget
()
void
unget
()
{
{
// Do not roll back
if w
e reached the end of the file.
// Do not roll back
once we'v
e reached the end of the file.
if
(
endOfFileReached
)
return
;
if
(
endOfFileReached
)
return
;
if
(
currentChar
>
0
)
{
if
(
currentChar
>
0
)
{
...
@@ -255,7 +255,9 @@ protected:
...
@@ -255,7 +255,9 @@ protected:
bool
singleLogical
;
// treats the strings as a single logical string.
bool
singleLogical
;
// treats the strings as a single logical string.
// locations will be reported from the first string.
// locations will be reported from the first string.
bool
endOfFileReached
;
// set to true once peak() returns EndOfFile.
// set to true once peak() returns EndOfFile, so that we won't roll back
// once we've reached EndOfFile.
bool
endOfFileReached
;
};
};
}
// end namespace glslang
}
// end namespace glslang
...
...
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