summaryrefslogtreecommitdiffstats
path: root/kate/data/nasm.xml
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-11 16:14:23 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-11 16:14:23 -0600
commit7439a4b0e05832e047040ab8bf9ef13abd9288b2 (patch)
tree3a15e3033fa66b2d947daa14e6807b39f3dc84d1 /kate/data/nasm.xml
parent783973a7d6910fee50d90fcfaf439ae3bbb15b8c (diff)
downloadtdelibs-7439a4b0e05832e047040ab8bf9ef13abd9288b2.tar.gz
tdelibs-7439a4b0e05832e047040ab8bf9ef13abd9288b2.zip
Update kate synatax highlighting files
This closes Bug 764
Diffstat (limited to 'kate/data/nasm.xml')
-rw-r--r--kate/data/nasm.xml9
1 files changed, 7 insertions, 2 deletions
diff --git a/kate/data/nasm.xml b/kate/data/nasm.xml
index 17e435fa4..6cbc555c8 100644
--- a/kate/data/nasm.xml
+++ b/kate/data/nasm.xml
@@ -6,6 +6,8 @@
Created: Nicola Gigante <nicola.gigante@gmail.com>
Changes: Bogdan Drozdowski (bogdandr@op.pl)
Version: 1.3
+ Lyle Putnam (lcputnam@gmail.com)
+ Version: 1.4
Changes from 1.0:
15/01/2006: version 1.1
@@ -18,6 +20,9 @@ Changes from 1.0:
Corrections in register list and a few new ones (not 64-bit).
Changed regexes for hex, octal and bin numbers. Now words like
"change" and "blah" will NOT have the "ch" and "ah" coloured.
+ 24/07/2011: Version 1.4 from Lyle Putnam (lcputnam@gmail.com):
+ The above change to fix the regex for hex numbers was incorrect on Kate
+ 3.6.2. Fixed.
GNU GENERAL PUBLIC LICENCE
@@ -35,7 +40,7 @@ You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-->
-<language name="Intel x86 (NASM)" section="Assembler" version="1.30" kateversion="2.3" extensions="*.asm" mimetype="" author="Nicola Gigante (nicola.gigante@gmail.com)" license="GPL">
+<language name="Intel x86 (NASM)" section="Assembler" version="1.40" kateversion="2.3" extensions="*.asm" mimetype="" author="Nicola Gigante (nicola.gigante@gmail.com)" license="GPL">
<highlighting>
<list name="registers">
<!-- General purpose registers -->
@@ -845,7 +850,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<!-- The NASM's CPU directive -->
<RegExpr attribute="NASM Keywords" context="#stay" String="cpu (pentium|ppro|p2|p3|katmai|p4|willamette|prescott|ia64)*"/>
<!-- hexadecimal numbers -->
- <RegExpr attribute="BaseN" context="#stay" insensitive="TRUE" String="(^|[ \t,]+)((\$|0x){1}[0-9]+[a-f0-9]*|[a-f0-9]+h)([ \t,]+|$)"/>
+ <RegExpr attribute="BaseN" context="#stay" insensitive="TRUE" String="(^|[ \t,]+)((\$|0x){1}[0-9]+[a-f0-9]*|[0-9]+[a-f0-9]*h)([ \t,]+|$)"/>
<!-- octal and binary numbers -->
<RegExpr attribute="BaseN" context="#stay" insensitive="TRUE" String="(^|[ \t,]+)([0-7]+(q|o)|[01]+b)([ \t,]+|$)"/>
<DetectChar attribute="Number" context="#stay" char="$"/>