mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-03 10:14:06 +02:00
pass parser state to handlers
This commit is contained in:
parent
54965c8fac
commit
74ad7d121f
9 changed files with 70 additions and 20 deletions
|
|
@ -30,7 +30,12 @@ impl MessageHandler for SendPropAnalyser {
|
|||
false
|
||||
}
|
||||
|
||||
fn handle_data_tables(&mut self, tables: &[ParseSendTable], _server_classes: &[ServerClass]) {
|
||||
fn handle_data_tables(
|
||||
&mut self,
|
||||
tables: &[ParseSendTable],
|
||||
_server_classes: &[ServerClass],
|
||||
_parser_state: &ParserState,
|
||||
) {
|
||||
for table in tables {
|
||||
for prop_def in &table.props {
|
||||
self.prop_names.insert(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue