Wednesday, August 10, 2011

Warning (HTML included to show prog shipped w/syntax highlighting).

When I have the construct, in 4.1:


1 #!/bin/bash
2
30
31 # trace control for subs
32 declare -ix Allow_Trace=$(((
33 _D_LowLevel |
34 _D_Provides |
35 _D_
36 )))
37
38 declare -ix Trace_off=$(((
39 _D_
40 )))
41
42 # for setting a local '_Debug' flag in a routine
43 declare -ix Debug=$(((
44 _D_
45 )))
46
47
907 # vim: ts=2 sw=2 fdm=marker nofen


The syntax highligher doesn't like my ) brace.

If I put a space after $( and before th final ), then the error goes
away, but it changes
the semantics of the statment (one does an arith cal, and reurns value,
but with spaces,
it does the arith and returns the status of the of wheither or not the
'calc' returned 0 (fail)
or 1(pass).

For hosethat want to complain about HTML, bing used on vim llist -- -
just ignore the post..


Is this fixable???

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: