summaryrefslogtreecommitdiff
path: root/tests/examplefiles/example.bat
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2017-01-22 18:50:35 +0000
committerGeorg Brandl <georg@python.org>2017-01-22 18:50:35 +0000
commit041b80fab1922800ae0618fd4d3d8d78bf7063b4 (patch)
tree79540afc389a29e894804229b6ba2dbc78c67760 /tests/examplefiles/example.bat
parent635f722ec3eb791e19f41b3231d74923d73bd729 (diff)
parentdbfa7bbacf9ec1a987f632f01c040285269f690b (diff)
downloadpygments-041b80fab1922800ae0618fd4d3d8d78bf7063b4.tar.gz
Merged in tprynn/pygments-main/command-line-lexer-formatter (pull request #559)
Custom Lexer/Formatter File Loading
Diffstat (limited to 'tests/examplefiles/example.bat')
-rw-r--r--tests/examplefiles/example.bat6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/examplefiles/example.bat b/tests/examplefiles/example.bat
index bf27673c..2b45d2bc 100644
--- a/tests/examplefiles/example.bat
+++ b/tests/examplefiles/example.bat
@@ -99,6 +99,10 @@ goto fail
rem "comment comment"^
goto fail
rem comment comment^
+if "1==1" equ "1==1" goto comments4
+goto fail
+:comments4
+rem comment"comment^
set /a _passed+=1
GOTO :EOF
goto :fail
@@ -201,5 +205,7 @@ for /f "tokens=2 delims==" %%G in ( 'assoc %+;/p extension'),%'
) &>nul ver
if errorlevel 0 if not errorlevel 1 set /a _passed+=1
goto :eof
+FOR /F %%a IN ('%%c%%') DO %%a
+rem %x% %x% %x% %x% %x% %x% %x% %x% %x% %x% %x% %x% %x% %x% %x% %x%
:/?
goto :fail