From 0e1335d7ff56c8da0e5412d90d91433235c68773 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Santos=20Costa?= Date: Wed, 22 Jul 2015 19:26:40 -0500 Subject: [PATCH] make $ SY from very beginning --- C/scanner.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/C/scanner.c b/C/scanner.c index 57354a992..46d14f0d3 100755 --- a/C/scanner.c +++ b/C/scanner.c @@ -469,7 +469,7 @@ static char chtype0[NUMBER_OF_CHARS + 1] = { BS, BS, BS, BS, BS, BS, BS, /* sp ! " # $ % & ' ( ) * + , - . / */ - BS, SL, DC, SY, LC, CC, SY, QT, BK, + BS, SL, DC, SY, SY, CC, SY, QT, BK, BK, SY, SY, BK, SY, SY, SY, /* 0 1 2 3 4 5 6 7 8 9 : ; < = > ? */ @@ -1254,7 +1254,8 @@ TokEntry *Yap_tokenizer( struct stream_desc *inp_stream, } *tposp = Yap_StreamPosition(inp_stream-GLOBAL_Stream); Yap_setCurrentSourceLocation(inp_stream); - LOCAL_StartLine = inp_stream->linecount; + LOCAL_StartLineCount = inp_stream->linecount; + LOCAL_StartLinePos = inp_stream->linepos; do { wchar_t och; int quote, isvar;