javigon / vim

Automatically exported from code.google.com/p/vim
0 stars 0 forks source link

AWK syntax highliting slash operator turns into regexp #232

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
{
        printf("%f %f", a+(1/b), c/3)
}

/b), c/ highligts as a regexp, but it is a normal division. Then braces get 
broken in whole file (because one brace gets stuck in the regexp).

Original issue reported on code.google.com by pletiplo...@gmail.com on 13 Jun 2014 at 1:37

GoogleCodeExporter commented 9 years ago

Original comment by chrisbr...@googlemail.com on 12 Oct 2014 at 7:13

GoogleCodeExporter commented 9 years ago
I modified a bit the awk.vim file. The issue seems to be solved to me, but I 
would like confirmation and further testing. While I was at it, I updated the 
awk.vim fil, having in mind the coming 4th Edition of the Gawk book by Arnold 
Robbins (a few more functions and built-in variables). If you find problems 
with the new awk.vim file, please let me know, before the new awk.vim gets into 
the regular vim distribution.

Original comment by azc...@gmail.com on 21 Oct 2014 at 7:14

Attachments:

GoogleCodeExporter commented 9 years ago
Since no one complained, I think this new awk syntax file should be included 
with vim.

Original comment by chrisbr...@googlemail.com on 14 Jan 2015 at 6:47

GoogleCodeExporter commented 9 years ago
I agree, I will send the file to Bram.

Original comment by azc...@gmail.com on 14 Jan 2015 at 9:37

GoogleCodeExporter commented 9 years ago
Updated syntax file commited with 
https://code.google.com/p/vim/source/detail?r=435956324539eea89a17f0409a15b58897
3c0cb9
so closing.

Original comment by chrisbr...@googlemail.com on 26 Jan 2015 at 7:55