summaryrefslogtreecommitdiffstats
path: root/tests/001/query-4.txr
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-07-15 07:21:30 -0700
committerKaz Kylheku <kaz@kylheku.com>2014-07-15 07:21:30 -0700
commit686f2f0ca2ac577d91bbd22cac1360132bb56472 (patch)
tree2431d807363e9c4123048acba05e11312121079c /tests/001/query-4.txr
parent472f7ac7c4dd31c6cd9b1ea833d5a74c4e674311 (diff)
downloadtxr-686f2f0ca2ac577d91bbd22cac1360132bb56472.tar.gz
txr-686f2f0ca2ac577d91bbd22cac1360132bb56472.tar.bz2
txr-686f2f0ca2ac577d91bbd22cac1360132bb56472.zip
Fix old, known syntax highlighting problems between symbols,
integers and floating literals. * genvin.txr (txr_num): The general solution is to over-match a number by one character: a non-token constituent, and then subtract that from the highlight region using me=e-1. This solves the prefix ambiguities between numbers and symbols. (txr_badnum): New match: matches floating literals with trailing junk, which are highlighted as errors. (txr_directive, txr_list, txr_bracket, txr_mlist, txr_mbracket): All of these contain a txr_badnum. * txr.vim: Regenerated.
Diffstat (limited to 'tests/001/query-4.txr')
0 files changed, 0 insertions, 0 deletions