summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
dff21c2)
When I first wrote this script I had some issues that cause false
positives and I filtered too many of them.
Signed-off-by: NeilBrown <neil@brown.name>
- FieldBlock -> { IN OptNL FieldLines OUT OptNL } ${ $0 = $<FL; }$
+ FieldBlock -> { IN OptNL FieldLines OUT OptNL } ${ $0 = $<FL; // UNTESTED
+ }$
| { SimpleFieldList } ${ $0 = $<SFL; }$
| IN OptNL FieldLines OUT ${ $0 = $<FL; }$
| { SimpleFieldList } ${ $0 = $<SFL; }$
| IN OptNL FieldLines OUT ${ $0 = $<FL; }$
- | SimpleFieldList EOL ${ $0 = $<SFL; }$
+ | SimpleFieldList EOL ${ $0 = $<SFL; // UNTESTED
+ }$
FieldLines -> SimpleFieldList Newlines ${ $0 = $<SFL; }$
| FieldLines SimpleFieldList Newlines ${ {
FieldLines -> SimpleFieldList Newlines ${ $0 = $<SFL; }$
| FieldLines SimpleFieldList Newlines ${ {
- Block -> { IN OptNL Statementlist OUT OptNL } ${ $0 = $<Sl; }$
- | { SimpleStatements } ${ $0 = reorder_bilist($<SS); }$
+ Block -> { IN OptNL Statementlist OUT OptNL } ${ $0 = $<Sl; // UNTESTED
+ }$
+ | { SimpleStatements } ${ $0 = reorder_bilist($<SS); // UNTESTED
+ }$
| SimpleStatements ; ${ $0 = reorder_bilist($<SS); }$
| SimpleStatements ; ${ $0 = reorder_bilist($<SS); }$
- | SimpleStatements EOL ${ $0 = reorder_bilist($<SS); }$
+ | SimpleStatements EOL ${ $0 = reorder_bilist($<SS); // UNTESTED
+ }$
| IN OptNL Statementlist OUT ${ $0 = $<Sl; }$
| IN OptNL Statementlist OUT ${ $0 = $<Sl; }$
- OpenBlock -> OpenScope { IN OptNL Statementlist OUT OptNL } ${ $0 = $<Sl; }$
+ OpenBlock -> OpenScope { IN OptNL Statementlist OUT OptNL } ${ $0 = $<Sl; // UNTESTED
+ }$
| OpenScope { SimpleStatements } ${ $0 = reorder_bilist($<SS); }$
| OpenScope SimpleStatements ; ${ $0 = reorder_bilist($<SS); }$
| OpenScope SimpleStatements EOL ${ $0 = reorder_bilist($<SS); }$
| IN OpenScope OptNL Statementlist OUT ${ $0 = $<Sl; }$
| OpenScope { SimpleStatements } ${ $0 = reorder_bilist($<SS); }$
| OpenScope SimpleStatements ; ${ $0 = reorder_bilist($<SS); }$
| OpenScope SimpleStatements EOL ${ $0 = reorder_bilist($<SS); }$
| IN OpenScope OptNL Statementlist OUT ${ $0 = $<Sl; }$
- UseBlock -> { OpenScope IN OptNL Statementlist OUT OptNL } ${ $0 = $<Sl; }$
+ UseBlock -> { OpenScope IN OptNL Statementlist OUT OptNL } ${ $0 = $<Sl; // UNTESTED
+ }$
| { OpenScope SimpleStatements } ${ $0 = reorder_bilist($<SS); }$
| IN OpenScope OptNL Statementlist OUT ${ $0 = $<Sl; }$
| { OpenScope SimpleStatements } ${ $0 = reorder_bilist($<SS); }$
| IN OpenScope OptNL Statementlist OUT ${ $0 = $<Sl; }$
- ColonBlock -> { IN OptNL Statementlist OUT OptNL } ${ $0 = $<Sl; }$
+ ColonBlock -> { IN OptNL Statementlist OUT OptNL } ${ $0 = $<Sl; // UNTESTED
+ }$
| { SimpleStatements } ${ $0 = reorder_bilist($<SS); }$
| : SimpleStatements ; ${ $0 = reorder_bilist($<SS); }$
| : SimpleStatements EOL ${ $0 = reorder_bilist($<SS); }$
| { SimpleStatements } ${ $0 = reorder_bilist($<SS); }$
| : SimpleStatements ; ${ $0 = reorder_bilist($<SS); }$
| : SimpleStatements EOL ${ $0 = reorder_bilist($<SS); }$
if [ ! -f "$b" ]; then
continue
fi
if [ ! -f "$b" ]; then
continue
fi
- grep '#####:' "$i" | grep -vE '(NOTEST|UNTESTED|: *##|}\$$|:$)' |
+ grep '#####:' "$i" | grep -vE '(NOTEST|UNTESTED|: *##|[0-9]:[ ]*}\$$|:$)' |
awk -F: '{printf "%ds,$, // UNTESTED,\n", $2}' |
sed -i -e 's,[ ]*// UNTESTED$,,' -f - "$b"
grep '[0-8]: *[1-9][0-9]*:.*// NOTEST$' "$i" |
awk -F: '{printf "%ds,$, // UNTESTED,\n", $2}' |
sed -i -e 's,[ ]*// UNTESTED$,,' -f - "$b"
grep '[0-8]: *[1-9][0-9]*:.*// NOTEST$' "$i" |