summaryrefslogtreecommitdiff
path: root/src/runtime/c/pgf/lexer.c
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2012-05-08 12:13:28 +0000
committerkr.angelov <kr.angelov@gmail.com>2012-05-08 12:13:28 +0000
commita6800fc0da1d90dad0362c806037f9a92ab3e813 (patch)
treead383d165e5d2fe36fe10729d83ff5aa201b0f6c /src/runtime/c/pgf/lexer.c
parent931066f6fc004c7a193e5200d13ea651c7e02fd1 (diff)
a new unbiased statistical parser. it is still far from perfect use it on your own risk.
Diffstat (limited to 'src/runtime/c/pgf/lexer.c')
-rw-r--r--src/runtime/c/pgf/lexer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/c/pgf/lexer.c b/src/runtime/c/pgf/lexer.c
index 27fe97e34..05372eca0 100644
--- a/src/runtime/c/pgf/lexer.c
+++ b/src/runtime/c/pgf/lexer.c
@@ -46,7 +46,7 @@ pgf_lexer_next_token(PgfLexer *lexer, GuExn* err, GuPool *pool)
if (gu_exn_is_raised(err))
goto stop;
- if (lexer->ucs == '.' && counter < 3) {
+ if (lexer->ucs == '.' && counter < 4) {
// perhaps an abreviation
gu_ucs_write(lexer->ucs, wtr, err);
if (gu_exn_is_raised(err))