aboutsummaryrefslogtreecommitdiffhomepage
path: root/generic
diff options
context:
space:
mode:
authorGravatar Pierre Courtieu <Pierre.Courtieu@cnam.fr>2017-01-26 15:56:09 +0100
committerGravatar Pierre Courtieu <Pierre.Courtieu@cnam.fr>2017-01-26 15:56:09 +0100
commitf8a4f52b88af2bea94008b6b66cdd3f38eb46df7 (patch)
tree0d5a5754c289d1ae53010dfec33be75a904dca94 /generic
parentcf290f2da6513c42ad57620136c7e6b6cebf8e11 (diff)
Fixing #147 and #91 + others indentation bugs.
While fixing these I discovered several flaws in indentation (what a suprise). The probem is the following: since we don't have a precise grammar of tactics, smie often decides that the parent of a sub-part of a tactic is the previous command instead of the current tacic. Typical example (fixed now but in general): foo. apply bar with bar'. Since "apply ... bar'" is considered as one leaf of the grammar, it is considered to be a child of the previous dot. . /\ / \ foo apply...bar' Therefore indentation of "with" wants to align with parent "." and hence with "foo". Basically we should try to define a much more precise grammar of complex tactics (with with, as, using etc) in order to fix the problem. Of course this has the drawback of making impossible to support user tactic notations.
Diffstat (limited to 'generic')
0 files changed, 0 insertions, 0 deletions