+ #23 Notepad++ syntax-file: add notes re update / alt installation

This commit is contained in:
meisl 2021-05-07 15:03:15 +02:00
parent dae59238cd
commit a48cf0bb24
2 changed files with 6 additions and 2 deletions

View File

@ -8,3 +8,7 @@ To install:
* Open Notepad++ * Open Notepad++
* Menu `Language` | `User Defined Language` | `Define your language...` * Menu `Language` | `User Defined Language` | `Define your language...`
* Click `Import...`, then choose the xml file `Prog8.xml` * Click `Import...`, then choose the xml file `Prog8.xml`
Notes:
* After an update of Notepad++ you will have to import the xml file again.
* Alternatively, you can select `Language` | `User Defined Language` | `Open User Defined Language folder...` and put the xml file there.

View File

@ -6,7 +6,7 @@
; TODO: something ; TODO: something
; FIXME #31 ; FIXME #31
main { main {
str input = "string literal" str input = "string literal\r\n\"\\"
ubyte c = 'x' ; character literal in bold ubyte c = 'x' ; character literal in bold
ubyte decimal = 0 + 1 - 2 * 3 ubyte decimal = 0 + 1 - 2 * 3
float pi = 3.1415 float pi = 3.1415
@ -16,7 +16,7 @@ main {
inline asmsub foo(ubyte char @A) clobbers(Y) { inline asmsub foo(ubyte char @A) clobbers(Y) {
asm {{ asm {{
a_label: a_label:
nop nop ; comment inside asm
bcc _done bcc _done
sec sec
_done: rts _done: rts