orbitalquark / scintillua

Scintillua enables Scintilla lexers to be written in Lua, particularly using LPeg. It can also be used as a standalone Lua library for syntax highlighting support.
https://orbitalquark.github.io/scintillua
MIT License
53 stars 22 forks source link

Syncing changes in ansi_c lexer #21

Closed moesasji closed 3 years ago

moesasji commented 3 years ago

As you had probably guessed: I'm trying to sync the lexers used by vis so that both communities can benefit from each-others effort.

Unfortunately adding this commit on top of the current ansi_c lexer is a bit less straight forward due to the range of things it changed on top of the legacy lexer.

Key changes are in how it recognises the numbers as well adding additional non-std compiler keywords. Any change that you could take a look at how to best merge this one without me preparing a pull-request?

orbitalquark commented 3 years ago

Fixed via https://github.com/orbitalquark/scintillua/commit/6678d3f9bf33ef00f66848a5252a8f93c21896d2