| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/security/openvpn-auth-ldap/files/ |
Upload File : |
--- src/TRConfigLexer.re.orig 2012-03-03 19:17:45 UTC
+++ src/TRConfigLexer.re
@@ -72,7 +72,7 @@
#define SC(cond) LEXER_SC_ ## cond: LEXER_SC_ ## cond
/* Check for end-of-input */
-#define CHECK_EOI() if (_eoi) { return NULL; }
+#define CHECK_EOI() if (_cursor >= _limit) { return NULL; }
/* Skip a token */
#define SKIP(cond) CHECK_EOI(); goto LEXER_SC_ ## cond
@@ -115,10 +115,6 @@
- (void) fill: (int) length {
/* We just need to prevent re2c from walking off the end of our buffer */
assert(_limit - _cursor >= 0);
- if (_cursor == _limit) {
- /* Save the cursor and signal EOI */
- _eoi = _cursor;
- }
}
- (TRConfigToken *) scan {