With some new analyzers, we're duplicating code that we're shipping with Bro, due to a limitation in BinPAC - currently, BinPAC doesn't support %include-ing files from other directories. ASN.1 is a good example of this - SNMP and Kerberos both need a copy of the same ASN.1 parsing code. SMB also has some overlap with other analyzers.
I tried the obvious fix of adding parsing support for %include ../snmp/asn1.pac, but the include paths get mixed up and compilation fails.
I believe this should be a relatively simple fix.