Merge pull request #35 from meisl/master

Notepad++ syntax-file: add notes re update / alt installation
This commit is contained in:
Irmen de Jong 2021-05-07 21:44:58 +02:00 committed by GitHub
commit f4d83075be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -8,3 +8,7 @@ To install:
* Open Notepad++
* Menu `Language` | `User Defined Language` | `Define your language...`
* 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
; FIXME #31
main {
str input = "string literal"
str input = "string literal\r\n\"\\"
ubyte c = 'x' ; character literal in bold
ubyte decimal = 0 + 1 - 2 * 3
float pi = 3.1415
@ -16,7 +16,7 @@ main {
inline asmsub foo(ubyte char @A) clobbers(Y) {
asm {{
a_label:
nop
nop ; comment inside asm
bcc _done
sec
_done: rts