X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Fparser.h;h=5ec0b95e6354875c2f4fa7aa881df78c9b11c67b;hp=0f2b4a072e50fe92c1c5cc9f57d2dbb82f1ee3a8;hb=14c98cac21b8102d1d4c2a57744f6976ea3a0849;hpb=ea0162a1698563a49de50456cd3f2cc18b83a05e diff --git a/src/parser.h b/src/parser.h index 0f2b4a0..5ec0b95 100644 --- a/src/parser.h +++ b/src/parser.h @@ -1065,7 +1065,7 @@ static inline PSI_Token *PSI_TokenAlloc(PSI_Parser *P) { PSI_Token *T; size_t token_len; - if (P->cur <= P->tok) { + if (P->cur < P->tok) { return NULL; }