forked from OSchip/llvm-project
[flang] Adjust CHECK() so that first token of program can begin with first character.
Original-commit: flang-compiler/f18@2b77e466ff Reviewed-on: https://github.com/flang-compiler/f18/pull/9 Tree-same-pre-rewrite: false
This commit is contained in:
parent
cd7319017a
commit
7e89fc78b0
|
@ -168,7 +168,7 @@ static inline bool IsNameChar(char ch) {
|
|||
}
|
||||
|
||||
bool Prescanner::NextToken(TokenSequence *tokens) {
|
||||
CHECK(at_ > start_ && at_ < limit_); // TODO pmk
|
||||
CHECK(at_ >= start_ && at_ < limit_); // TODO pmk rm?
|
||||
if (inFixedForm_) {
|
||||
SkipSpaces();
|
||||
} else if (*at_ == ' ' || *at_ == '\t') {
|
||||
|
|
Loading…
Reference in New Issue