diff options
author | Steven Barth <cyrus@openwrt.org> | 2015-01-06 23:40:22 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-01-07 13:08:39 +0100 |
commit | 5727cb06ce1ff42a855e8994910452c8e3d862e4 (patch) | |
tree | 568cbcfa99bf7610e347cacaaf4d4f46595b2418 /src/scanner.l | |
parent | 545c93d54d900e8e20071891b7e2bf3bb0e5fed2 (diff) |
parser: rename VERSION token to HDRVERSION
A token name of VERSION results in a macro being defined
with the same name. This prevents inclusion of config.h
in commonly used headers.
Signed-off-by: Steven Barth <cyrus@openwrt.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/scanner.l')
-rw-r--r-- | src/scanner.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scanner.l b/src/scanner.l index ed87da61..52b00783 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -349,7 +349,7 @@ addrstring ({macaddr}|{ip4addr}|{ip6addr}) "operation" { return OPERATION; } "ip" { return IP; } -"version" { return VERSION; } +"version" { return HDRVERSION; } "hdrlength" { return HDRLENGTH; } "tos" { return TOS; } "length" { return LENGTH; } |