main
|
Last change
on this file was cab8317, checked in by Olly Betts <olly@…>, 8 months ago |
|
Fix parsing of hex digits in *set
Hex digits a-f were incorrectly being handled as 0-5, so 0x0a was
byte 0 not byte 10.
|
-
Property mode
set to
100644
|
|
File size:
852 bytes
|
| Rev | Line | |
|---|
| [cab8317] | 1 | ; pos=yes warn=1
|
|---|
| [11f9067] | 2 | *begin
|
|---|
| [5d59477] | 3 | ; This should be enough to hint the output separator
|
|---|
| 4 | *set separator :
|
|---|
| 5 | *end
|
|---|
| 6 | *begin
|
|---|
| [11f9067] | 7 | *set blank ^
|
|---|
| 8 | *fix^1^reference^0^0^0
|
|---|
| 9 | *end
|
|---|
| 10 | *begin
|
|---|
| 11 | *set comment %"
|
|---|
| 12 | " a comment
|
|---|
| 13 | % another comment
|
|---|
| 14 | *set keyword ;
|
|---|
| 15 | ;end
|
|---|
| 16 | *begin
|
|---|
| 17 | *set blank +
|
|---|
| 18 | *set+decimal+,/
|
|---|
| 19 | *set+plus
|
|---|
| 20 | *set+NAMES+()
|
|---|
| 21 | *fix+(2)+reference+1,0+2/0+3
|
|---|
| 22 | *end
|
|---|
| 23 | *begin
|
|---|
| 24 | *set omit _
|
|---|
| 25 | *set names
|
|---|
| 26 | *set separator -
|
|---|
| 27 | *equate foo-1 1
|
|---|
| 28 | *begin foo
|
|---|
| 29 | *export 1
|
|---|
| 30 | 1 2 100 _ down
|
|---|
| 31 | *end foo
|
|---|
| 32 | *end
|
|---|
| 33 | *begin
|
|---|
| 34 | *set blank _
|
|---|
| 35 | *set_names_x20
|
|---|
| 36 | *fix_name with spaces in_reference_0_0_0
|
|---|
| 37 | *end
|
|---|
| [57063af] | 38 | *begin
|
|---|
| 39 | *set blank x09x20
|
|---|
| 40 | *set decimal ,
|
|---|
| [a886e3a] | 41 | *set names .
|
|---|
| 42 | 1 3.1 1,00 200 -01,5
|
|---|
| [57063af] | 43 | *end
|
|---|
| [cab8317] | 44 | *begin ; Check EOL works and that parsing a-f after x is no longer buggy.
|
|---|
| 45 | *set eol ^^;this comment should continue until the caret before the next *set
|
|---|
| 46 |
|
|---|
| 47 | *fix should_be_ignored 0 0 0
|
|---|
| 48 |
|
|---|
| 49 | ^*set eol x0a
|
|---|
| 50 |
|
|---|
| 51 | *fix unused 0 0 0 ; trigger a warning to check line numbering
|
|---|
| 52 | *end
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.