소스 검색

Fixed newline detection

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@8182 8c9fc860-2736-0410-a75d-ab315db34111
negelef 7 년 전
부모
커밋
1d0db95a7b
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      source/FoxScanner.Mod

+ 1 - 0
source/FoxScanner.Mod

@@ -840,6 +840,7 @@ TYPE
 				symbol.position := position;
 				endPos := position.start;
 				IF (ch >= 'A') & (ch <= 'Z') OR (ch >= 'a') & (ch <= 'z') THEN
+					newline := FALSE;
 					GetIdentifier(symbol);
 					IF (case=Uppercase) & (symbol.identifierString = "END") OR (case=Lowercase) & (symbol.identifierString = "end") THEN
 						s := End