diff options
author | James Estevez <je@odnv.org> | 2014-02-16 23:10:29 -0800 |
---|---|---|
committer | James Estevez <je@odnv.org> | 2014-02-16 23:10:29 -0800 |
commit | ffe5d8b8d391dcff65d9b76d0dd510173485f2a1 (patch) | |
tree | 973c81b159c17b3f2093859a5b3298b4cb29ae05 /scripts/find_error.py | |
parent | 76830a64b219cc2fd76b7ae7de12b717375a6793 (diff) | |
download | pygments-ffe5d8b8d391dcff65d9b76d0dd510173485f2a1.tar.gz |
Issue #412: Add built-in functions to SLexer
The R lexer does not recognize:
- any built-in functions,
- any data structures,
- all built-in constants,
- exponents on floating points with decimals, but no mantissa
This update to `math.py` adds a list of only those functions contained
within `package:base`, output from R with via the `builtins(TRUE)`
function. Keywords for Keyword.Constant, Keyword.Namespace, and
Keyword.Type were manually subsetted from the resulting list. This is
the approach used by the Mathematica and Numpy lexers.
The update to `test.R` adds a sample of the builtin functions, data
structures, and namespace functions, along with an example of a floating
point with a decimal, but no fractional part.
Diffstat (limited to 'scripts/find_error.py')
0 files changed, 0 insertions, 0 deletions