mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00

Both local and global variables declared with "const" could be modified, but now expressions that would modify them should generate an error message at parse-time.
13 lines
936 B
Text
13 lines
936 B
Text
error in ./invalid.bro, line 15: const is not a modifiable lvalue (foo)
|
|
error in ./invalid.bro, line 16: const is not a modifiable lvalue (foo)
|
|
error in ./invalid.bro, line 17: const is not a modifiable lvalue (bar)
|
|
error in ./invalid.bro, line 17: const is not a modifiable lvalue (foo)
|
|
error in ./invalid.bro, line 18: const is not a modifiable lvalue (foo)
|
|
error in ./invalid.bro, line 19: const is not a modifiable lvalue (foo)
|
|
error in ./invalid.bro, line 20: const is not a modifiable lvalue (foo)
|
|
error in ./invalid.bro, line 22: const is not a modifiable lvalue (foo)
|
|
error in ./invalid.bro, line 25: const is not a modifiable lvalue (bar)
|
|
error in ./invalid.bro, line 26: const is not a modifiable lvalue (baz)
|
|
error in ./invalid.bro, line 27: const is not a modifiable lvalue (bar)
|
|
error in ./invalid.bro, line 28: const is not a modifiable lvalue (baz)
|
|
error in ./invalid.bro, line 33: const is not a modifiable lvalue (foo)
|