diff options
author | jkim <jkim@FreeBSD.org> | 2013-05-03 23:51:32 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2013-05-03 23:51:32 +0000 |
commit | eb004e0f1388470d70a4c8ffc653d593cc372887 (patch) | |
tree | 178d54373fb0edb2ba3c317479c4aa893565bb94 /usr.bin/xlint | |
parent | 0ceb3c977351928509aac9580e4929caa3985909 (diff) | |
download | FreeBSD-src-eb004e0f1388470d70a4c8ffc653d593cc372887.zip FreeBSD-src-eb004e0f1388470d70a4c8ffc653d593cc372887.tar.gz |
Improve compatibility with recent flex from flex.sourceforge.net.
Diffstat (limited to 'usr.bin/xlint')
-rw-r--r-- | usr.bin/xlint/lint1/scan.l | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/xlint/lint1/scan.l b/usr.bin/xlint/lint1/scan.l index 65d2d11..013a795 100644 --- a/usr.bin/xlint/lint1/scan.l +++ b/usr.bin/xlint/lint1/scan.l @@ -52,7 +52,6 @@ __FBSDID("$FreeBSD$"); #include "cgram.h" #define CHAR_MASK (~(~0 << CHAR_BIT)) -#define YY_NO_UNPUT /* Current position (its also updated when an included file is parsed) */ pos_t curr_pos = { 1, "", 0 }; @@ -86,6 +85,8 @@ static int wcstrg(void); %} +%option nounput + L [_A-Za-z] D [0-9] NZD [1-9] |