| 1 |
# Purpose: incorrectly terminated character strings - a common problem |
| 2 |
|
| 3 |
data_test |
| 4 |
|
| 5 |
_t1 char |
| 6 |
_e2 'no longer a model file # no closing quote |
| 7 |
_e3 no longer a model file # no quotes at all |
| 8 |
_e4 "with various types of field' # mismatched quotes |
| 9 |
_t5 "but it's OK to have included quotes of the other type" |
| 10 |
_t6 'and it's even OK to have included quotes of the same type" |
| 11 |
_e7 'so long as they don' t abut white space!' |
| 12 |
_t8 # Comment |
| 13 |
; all conforming to valid STAR syntax |
| 14 |
rules |
| 15 |
; _t9 "Watch out for content following the text terminator" # OK |
| 16 |
_e10 |
| 17 |
; but here is an incorrectly indented |
| 18 |
text field |
| 19 |
; |
| 20 |
_e11 |
| 21 |
; and here is the all-too-common case of |
| 22 |
a missing text terminator |
| 23 |
|
| 24 |
_e12 |
| 25 |
; a parser should now complain |