tree-sitter-dockerfile/test/corpus/stopsignal.txt
tvrinssen 1bf9daef46
Support heredocs (#45)
This adds support for heredocs in Dockerfiles. This required adding an external scanner to store the required state.

Co-authored-by: Camden Cheek <camden@ccheek.com>
2024-04-19 14:08:28 -06:00

74 lines
1.2 KiB
Plaintext

==================
Integer
==================
STOPSIGNAL 9
---
(source_file
(stopsignal_instruction))
==================
Signal name
==================
STOPSIGNAL SIGKILL
---
(source_file
(stopsignal_instruction))
=========================================================
Signal value with expansions
=========================================================
STOPSIGNAL A$BC${DE}F
---
(source_file
(stopsignal_instruction
(expansion
(variable))
(expansion
(variable))))
=========================================================
No space in signal value
=========================================================
STOPSIGNAL A B
---
(source_file
(ERROR
(stopsignal_instruction)))
=========================================================
No space in signal value before expansion
=========================================================
STOPSIGNAL A $B
---
(source_file
(stopsignal_instruction
(ERROR)
(expansion
(variable))))
=========================================================
No space in signal value within expansion
=========================================================
STOPSIGNAL A$ B
---
(source_file
(ERROR))