mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
Merge remote-tracking branch 'origin/topic/timw/174-duplicate-attributes'
- Replaced "tag" with "attribute" in the error message since the former is not exactly the same concept/meaning and also not user-facing terminology * origin/topic/timw/174-duplicate-attributes: Allow duplicate attributes in full redefs Short-circuit checking of whether attr exists Expanded check for other tag types, fixed btest to cover more tags GH-174: Add warning for duplicate attributes
This commit is contained in:
commit
5e6bb843ab
10 changed files with 65 additions and 18 deletions
3
testing/btest/Baseline/language.duplicate-attributes/out
Normal file
3
testing/btest/Baseline/language.duplicate-attributes/out
Normal file
|
@ -0,0 +1,3 @@
|
|||
error in /Users/tim/Desktop/projects/zeek/testing/btest/.tmp/language.duplicate-attributes/duplicate-attributes.zeek, line 4: Duplicate &default attribute is ambiguous
|
||||
error in /Users/tim/Desktop/projects/zeek/testing/btest/.tmp/language.duplicate-attributes/duplicate-attributes.zeek, line 6: Duplicate &deprecated attribute is ambiguous
|
||||
error in /Users/tim/Desktop/projects/zeek/testing/btest/.tmp/language.duplicate-attributes/duplicate-attributes.zeek, line 7: Duplicate &deprecated attribute is ambiguous
|
Loading…
Add table
Add a link
Reference in a new issue