mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 11:19:32 -06:00
Make cleanupRecordFields also recurse into variants
It's possible that more constructors need to be handled
This commit is contained in:
@@ -23,15 +23,6 @@ echo ""
|
||||
|
||||
# https://github.com/GrammaticalFramework/gf-core/issues/101
|
||||
stack run -- --batch --output-format=canonical_gf grammars/PhrasebookGer.gf
|
||||
# for s in c2 objCtrl; do
|
||||
# grep VRead --after-context=216 canonical/PhrasebookGer.gf | grep "$s" > /dev/null
|
||||
# if [ $? -ne 1 ]; then
|
||||
# echo "Canonical grammar contains \`$s\`: FAIL"
|
||||
# FAILURES=$((FAILURES+1))
|
||||
# else
|
||||
# echo "Canonical grammar does not contain \`$s\`: OK"
|
||||
# fi
|
||||
# done
|
||||
diff canonical/PhrasebookGer.gf gold/PhrasebookGer.gf
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Canonical grammar doesn't match gold version: FAIL"
|
||||
|
||||
Reference in New Issue
Block a user