diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-09-02 20:20:38 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-09-02 20:20:38 -0700 |
commit | 2565d714b4eaadb056c90b4641b8c1fa18e4d0f2 (patch) | |
tree | 2284cb8aaff634a908717a4700b78c9d11ef3e5c /parser.l | |
parent | eb5b89cc8a58c35eba829254af82d3aa78399649 (diff) | |
download | txr-2565d714b4eaadb056c90b4641b8c1fa18e4d0f2.tar.gz txr-2565d714b4eaadb056c90b4641b8c1fa18e4d0f2.tar.bz2 txr-2565d714b4eaadb056c90b4641b8c1fa18e4d0f2.zip |
One-liner to allow @{obj.slot} in quasiliterals.
* parser.l (grammar): Recognize '.' token in
BRACED state also.
* genvim.txr: @{obj.slot ...} syntax highlighting support.
Include txr_dot and txr_dotdot in txr_bracevar region.
Diffstat (limited to 'parser.l')
-rw-r--r-- | parser.l | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -714,7 +714,7 @@ UONLY {U2}{U}|{U3}{U}{U}|{U4}{U}{U}{U} return LAMBDOT; } -<SPECIAL,QSPECIAL,NESTED>\. { +<SPECIAL,QSPECIAL,NESTED,BRACED>\. { yylval->chr = '.'; return '.'; } |