<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pygments.git/pygments/lexers/asm.py, branch rawstring</title>
<subtitle>bitbucket.org: Obsolete (use python-packages/pygments-git)
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments.git/'/>
<entry>
<title>Make the NasmLexer the default for *.asm.</title>
<updated>2019-06-22T19:01:26+00:00</updated>
<author>
<name>Matth?us G. Chajdas</name>
<email>dev@anteru.net</email>
</author>
<published>2019-06-22T19:01:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments.git/commit/?id=f8e695a96d367c513cad3c711d99161c9d65daa3'/>
<id>f8e695a96d367c513cad3c711d99161c9d65daa3</id>
<content type='text'>
NASM is much more popular than TASM, but get_lexer_for_filename('.asm') would
return TASM. Resolved by changing the NASM priority to 1, and adding an
analyse_text implementation to both NasmLexer and TasmLexer to help resolve
which one to use (PROC should be fairly common in TASM code.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
NASM is much more popular than TASM, but get_lexer_for_filename('.asm') would
return TASM. Resolved by changing the NASM priority to 1, and adding an
analyse_text implementation to both NasmLexer and TasmLexer to help resolve
which one to use (PROC should be fairly common in TASM code.)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixup all headers and some more minor problems.</title>
<updated>2019-05-28T05:00:40+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2019-05-28T05:00:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments.git/commit/?id=0eca5a9db1b3c1f169f3fabda9fe9b72876a6056'/>
<id>0eca5a9db1b3c1f169f3fabda9fe9b72876a6056</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix directive parsing in NasmLexer (fixes #1517.)</title>
<updated>2019-05-21T16:30:17+00:00</updated>
<author>
<name>Matth?us G. Chajdas</name>
<email>dev@anteru.net</email>
</author>
<published>2019-05-21T16:30:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments.git/commit/?id=8202e648945351366bd0c465d72953fae40f4783'/>
<id>8202e648945351366bd0c465d72953fae40f4783</id>
<content type='text'>
Directives were parsed independent of whitespace after them, which caused the
cpuid instruction to be parsed as CPU &amp; id, instead of cpuid. We now expect a
whitespace character after a directive, which seems to match the Nasm
documentation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Directives were parsed independent of whitespace after them, which caused the
cpuid instruction to be parsed as CPU &amp; id, instead of cpuid. We now expect a
whitespace character after a directive, which seems to match the Nasm
documentation.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix invalid string escape.</title>
<updated>2019-05-07T15:46:01+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2019-05-07T15:46:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments.git/commit/?id=a5e3278c84828eb3f18f41c1af25324235b97d21'/>
<id>a5e3278c84828eb3f18f41c1af25324235b97d21</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Various fixes and cleanups to the last batch of new languages.</title>
<updated>2019-04-28T15:15:44+00:00</updated>
<author>
<name>Matth?us G. Chajdas</name>
<email>dev@anteru.net</email>
</author>
<published>2019-04-28T15:15:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments.git/commit/?id=5256ca6b4b12794a23b848a2dffa28025b8d9d72'/>
<id>5256ca6b4b12794a23b848a2dffa28025b8d9d72</id>
<content type='text'>
Add to CHANGES, languages, add versionadded, recreate mappings, fix DASM16
alias.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add to CHANGES, languages, add versionadded, recreate mappings, fix DASM16
alias.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add lexers for DASM16, Augeas, TOML, and Slash</title>
<updated>2019-03-31T15:32:01+00:00</updated>
<author>
<name>Frederik ?Freso? S. Olesen</name>
<email>freso.dk@gmail.com</email>
</author>
<published>2019-03-31T15:32:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments.git/commit/?id=d050666629b06261aed0e0e82648edeefe59e0c6'/>
<id>d050666629b06261aed0e0e82648edeefe59e0c6</id>
<content type='text'>
Lexers copied unmodified from
https://github.com/liluo/pygments-github-lexers
which is available under a 2-clause BSD license (same as pygments),
copyright 2012 to GitHub, Inc.

Fixes #1391 and #1150.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Lexers copied unmodified from
https://github.com/liluo/pygments-github-lexers
which is available under a 2-clause BSD license (same as pygments),
copyright 2012 to GitHub, Inc.

Fixes #1391 and #1150.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update LLVM lexer to use keywords of LLVM 7.0.</title>
<updated>2018-12-31T02:13:24+00:00</updated>
<author>
<name>Robin Eklind</name>
<email>devnull@localhost</email>
</author>
<published>2018-12-31T02:13:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments.git/commit/?id=86d45fbf627c596c894fbc3a63402d797811db0e'/>
<id>86d45fbf627c596c894fbc3a63402d797811db0e</id>
<content type='text'>
The keywords are based extracted from the source code
of the LLVM lexer (llvm-7.0.0.src/lib/AsmParser) and
is based on the first argument to the KEYWORD,
TYPEKEYWORD and INSTKEYWORD macros. The list of keywords
were then sorted in lexicographic order.

A diff with added and removed keywords is made available
at https://gist.github.com/mewmew/508e090a361095eeb60ffa88321e878a

Specifically the following 10 keywords were removed:

	begin, dbg, end, free, getresult, linker_private,
	linker_private, malloc, singlethread and x86_64_win64cc

And 96 new keywords were added.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The keywords are based extracted from the source code
of the LLVM lexer (llvm-7.0.0.src/lib/AsmParser) and
is based on the first argument to the KEYWORD,
TYPEKEYWORD and INSTKEYWORD macros. The list of keywords
were then sorted in lexicographic order.

A diff with added and removed keywords is made available
at https://gist.github.com/mewmew/508e090a361095eeb60ffa88321e878a

Specifically the following 10 keywords were removed:

	begin, dbg, end, free, getresult, linker_private,
	linker_private, malloc, singlethread and x86_64_win64cc

And 96 new keywords were added.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merged in wentasah/pygments-main (pull request #784)</title>
<updated>2018-12-05T05:12:37+00:00</updated>
<author>
<name>Tim Hatch</name>
<email>tim@timhatch.com</email>
</author>
<published>2018-12-05T05:12:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments.git/commit/?id=be52094e14ffaba6fee08f7e24712c4f78d56815'/>
<id>be52094e14ffaba6fee08f7e24712c4f78d56815</id>
<content type='text'>
Fix handling of end-of-line comments in asm lexer
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix handling of end-of-line comments in asm lexer
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix more instances of invalid string escapes</title>
<updated>2018-11-28T15:42:15+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2018-11-28T15:42:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments.git/commit/?id=cd850106ed356cd56c2bf19e0eebd75c42780556'/>
<id>cd850106ed356cd56c2bf19e0eebd75c42780556</id>
<content type='text'>
Also, raise on warnings from Pygments only.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also, raise on warnings from Pygments only.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix handling of end-of-line comments in asm lexer</title>
<updated>2018-11-26T15:03:12+00:00</updated>
<author>
<name>michal sojka</name>
<email>michal.sojka@cvut.cz</email>
</author>
<published>2018-11-26T15:03:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments.git/commit/?id=a1ae0fb71c07a83c3e07356ef22d249a7f965dc8'/>
<id>a1ae0fb71c07a83c3e07356ef22d249a7f965dc8</id>
<content type='text'>
When there is a comment after an instruction, e.g.

     mov $1,%eax   ; move 1 to eax
     ret

the next instruction (ret above) is not properly highlighted. This
patch fixes that.

This was also reported in #1477.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When there is a comment after an instruction, e.g.

     mov $1,%eax   ; move 1 to eax
     ret

the next instruction (ret above) is not properly highlighted. This
patch fixes that.

This was also reported in #1477.
</pre>
</div>
</content>
</entry>
</feed>
