florianschanda/miss_hit: Release 0.9.23
Creators
- 1. Crossmodal perception plasticity lab
Description
MH Trace can now produce tracing information from code. You can place tracing tags in code using the new
pragma Tag
:%| pragma Tag("Potato");
MH Style and MH Copyright now support octave-style copyright notices (i.e.
Copyright (c) ...
instead of(c) Copyright ...
).The default regular expression for matching copyright notices has changed and must now include a new group. If you have configured this setting, you must also include the new
copy
group in your regular expression, otherwise the tools break in interesting ways.MH Style supports a new rule "naming_parameters" that enforces a naming scheme for function and method inputs and outputs.
MH Style supports a new rule "naming_enumerations" that enforces a naming scheme for class enumerations.
Fix various parsing corner cases in parsing extremely dubious code. MISS_HIT previously rejected all of these as parse errors, now it complains about (and fixes) the style instead:
A command-form invocation after a
try
on the same line is now correctly recognised:try rotate3d off; end
A global statement can be terminated by a comma or semicolon:
try, global dt, f = f*dt; end
A single quote directly after a keyword introduces a character array:
case'potato'
The expression in a for loop does not require any termination:
for i=1:indx(1)-1 y(i) = y(indx(1)); end
Fix parsing of
Contents.m
in class directories (previously we expected some code, but these files are supposed to be blank).Fix a tool crash in MH Metrics: when producing the HTML report the tool would crash if there were parse errors in at least one file.
Files
florianschanda/miss_hit-0.9.23.zip
Files
(3.5 MB)
Name | Size | Download all |
---|---|---|
md5:bf6a53ab7f6c36c04ba8b3e111da3952
|
3.5 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/florianschanda/miss_hit/tree/0.9.23 (URL)