Files
sqltoolsservice/test/Microsoft.SqlTools.ServiceLayer.Test.Common/TestData/BatchParser/Baselines/BL-err-cycle1.txt
Aditya Bist 25c5c27a6e Fix batch parser test (#239)
* fixed batch parser test

* fix batch parser test

* fix batch parser test

* fixed baseline tests for parser and fixed trace output logic

* Update RunEnvironmentInfo.cs

* checking error logs on AppVeyor

* checking error logs on app veyor

* changed file reading encoding

* adding logs to app veyor build

* changed encoding of baseline files

* added error logs for app veyor

* changed error logs for app veyor

* changed how file stream works in batch parser tests

* changed baseline and testscript encodings

* cleaned code for necessary batch parser tests
2017-02-24 15:49:45 -08:00

21 lines
789 B
Plaintext

Lexer tokenized input:
======================
[T:print 'hi'][NL:
][Include::r][WS: ][T:cycle2.txt][Eof:]
Tokens:
=======
[Token Text at TS-err-cycle1.txt(1:1 [0] - 1:11 [10]): 'print 'hi'']
[Token NewLine at TS-err-cycle1.txt(1:11 [10] - 2:1 [11]): '\n']
[Token Include at TS-err-cycle1.txt(2:1 [11] - 2:3 [13]): ':r']
[Token Whitespace at TS-err-cycle1.txt(2:3 [13] - 2:4 [14]): ' ']
[Token Text at TS-err-cycle1.txt(2:4 [14] - 2:14 [24]): 'cycle2.txt']
[Token Eof at TS-err-cycle1.txt(2:14 [24] - 2:14 [24]): '']
*** PARSER: Include file "cycle2.txt"
*** PARSER: Include file "TS-err-cycle1.txt"
*** PARSER: Include file "cycle2.txt"
[PARSER ERROR: code CircularReference at 2:14 [24] - 2:14 [24] in TS-err-cycle1.txt, token text: , message: File 'cycle2.txt' recursively included.]