https://bugs.llvm.org/show_bug.cgi?id=48706
Bug ID: 48706
Summary: TableGen should recover better from common errors
Product: tools
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: TableGen
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
defs in tablegen are brace enclosed, and don't need a semicolon. However, we
should recognize that this is a common error. we currently produce errors like:
/Users/chrisl/Projects/circt/include/circt/Dialect/FIRRTL/FIRRTLExpressions.td:263:2:
error: Unexpected input at top level
};
^
It would be much better to produce a "defs don't end with a semicolon" error
with a fixit hint.
-Chris
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs