diff options
author | Manoj Srivastava <srivasta@debian.org> | 2018-02-12 11:03:58 -0800 |
---|---|---|
committer | Manoj Srivastava <srivasta@debian.org> | 2018-02-12 11:03:58 -0800 |
commit | 5f64e38979e363319990d837d0b4b5df82b71cca (patch) | |
tree | e9e60b658648d29136146d6021c3934d376a374c /src/scan.l | |
parent | 8852aa3f8eefeee4da27de0553b1653253b15619 (diff) | |
parent | 04687c439c4e99abd0bc29506ceaa293a6330d9c (diff) |
Merge branch 'upstream'
Diffstat (limited to 'src/scan.l')
-rw-r--r-- | src/scan.l | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,5 +1,11 @@ /* scan.l - scanner for flex input -*-C-*- */ +%top{ +/* flexdef.h includes config.h, which may contain macros that alter the API */ +/* of libc functions. Must include first before any libc header. */ +#include "flexdef.h" +} + %{ /* Copyright (c) 1990 The Regents of the University of California. */ /* All rights reserved. */ @@ -32,7 +38,6 @@ /* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR */ /* PURPOSE. */ -#include "flexdef.h" #include "parse.h" extern bool tablesverify, tablesext; extern int trlcontxt; /* Set in parse.y for each rule. */ @@ -433,6 +438,8 @@ M4QEND "]""]" yyset_extra ACTION_M4_IFDEF("M4""_YY_NO_SET_EXTRA", ! option_sense); yyget_leng ACTION_M4_IFDEF("M4""_YY_NO_GET_LENG", ! option_sense); yyget_text ACTION_M4_IFDEF("M4""_YY_NO_GET_TEXT", ! option_sense); + yyget_column ACTION_M4_IFDEF("M4""_YY_NO_GET_COLUMN", ! option_sense); + yyset_column ACTION_M4_IFDEF("M4""_YY_NO_SET_COLUMN", ! option_sense); yyget_lineno ACTION_M4_IFDEF("M4""_YY_NO_GET_LINENO", ! option_sense); yyset_lineno ACTION_M4_IFDEF("M4""_YY_NO_SET_LINENO", ! option_sense); yyget_in ACTION_M4_IFDEF("M4""_YY_NO_GET_IN", ! option_sense); |