Replace most uses of typedef with using for type aliasing

This commit is contained in:
Tim Wojtulewicz 2021-10-11 14:51:10 -07:00
parent 7101f30646
commit 64748edab1
44 changed files with 100 additions and 101 deletions

View file

@ -59,7 +59,7 @@ bool in_debug = false;
// ### fix this hardwired access to external variables etc.
struct yy_buffer_state;
typedef struct yy_buffer_state* YY_BUFFER_STATE;
using YY_BUFFER_STATE = struct yy_buffer_state*;
YY_BUFFER_STATE bro_scan_string(const char*);
extern YYLTYPE yylloc; // holds start line and column of token