new lexer : SINEX file format#329
Conversation
feb6a72 to
9147454
Compare
|
|
||
| using namespace Lexilla; | ||
|
|
||
| // States when parsing a real number |
There was a problem hiding this comment.
It's better to use anonymous namespace for rest of the file before extern const LexerModule line (see LexZig.cxx), then you can remove static from function definition.
There was a problem hiding this comment.
Thanks for the feedback. Done.
9147454 to
ae53e3f
Compare
|
Sync'ed with current master branch |
|
There's a warning from cppcheck for lengthLine. If it can be less than 0 then passing as unsigned is dangerous. |
You're right. Now removed.
Can't happen. The passed argument has type "size_t" (unsigned something). Anyway, my test is an old habit of trying and catch all possible values and more. Changed to a mere "==". |
|
Committed. |
The SINEX format is a block-oriented file format used in science, and especially space geodesy. It was created about 30 years ago (https://www.iers.org/SharedDocs/Publikationen/EN/IERS/Documents/ac/sinex/sinex_v202_pdf.pdf). The files are usually created by programs (just like XML files usually are) but it would be very useful to navigate through those files via a SINEX-enabled text editor.

I have a working implementation for geany :
It is my understanding that the code must be available in official releases of ctags & scintilla/lexilla before submitting a pull request on the geany repo. The ctags part was included in July, this is the lexilla part.