recursive descent functions into one table driven parser. Add proper error recovery and reporting. Add lots of test cases with semantics errors and verify error messages. llvm-svn: 156136
19 lines
299 B
Plaintext
19 lines
299 B
Plaintext
# RUN: not lld-core %s 2> %t.err
|
|
# RUN: FileCheck < %t.err %s
|
|
|
|
#
|
|
# Test that unknown file attribute produces a readable error.
|
|
#
|
|
|
|
---
|
|
aardvark: true
|
|
atoms:
|
|
- name: entry
|
|
scope: hidden
|
|
|
|
...
|
|
|
|
|
|
# CHECK: error: Unknown file attribute
|
|
# CHECK: aardvark
|