If an import directive was put into wrong context, the error message was obscure, complaining on misbalanced braces. To get more descriptive messages, annotation tokens related to modules are processed where they must not be seen. Differential Revision: http://reviews.llvm.org/D11844 llvm-svn: 248085
9 lines
117 B
Plaintext
9 lines
117 B
Plaintext
module Misplaced {
|
|
module Sub_A {
|
|
header "misplaced-a.h"
|
|
}
|
|
module Sub_B {
|
|
header "misplaced-b.h"
|
|
}
|
|
}
|