Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tiger
nolimips
Commits
bcf77b48
Commit
bcf77b48
authored
Feb 02, 2016
by
Etienne Renault
Browse files
Add support for flex 2.6.0
* src/parse/asm-scan.ll.gen.py: here.
parent
bce877f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/parse/asm-scan.ll.gen.py
View file @
bcf77b48
...
...
@@ -276,10 +276,12 @@ print ("""
/* Depending upon the version of Flex (> 2.5.4), there might be a
function to reclaim all the memory Flex has allocated. If not,
simulate it. */
#if !( YY_FLEX_MAJOR_VERSION >= 2
\
&& YY_FLEX_MINOR_VERSION >= 5
\
&& defined YY_FLEX_SUBMINOR_VERSION
\
&& YY_FLEX_SUBMINOR_VERSION >= 5)
#if !((YY_FLEX_MAJOR_VERSION >= 2
\
&& YY_FLEX_MINOR_VERSION >= 6) ||
\
(YY_FLEX_MAJOR_VERSION >= 2
\
&& YY_FLEX_MINOR_VERSION >= 5
\
&& defined YY_FLEX_SUBMINOR_VERSION
\
&& YY_FLEX_SUBMINOR_VERSION >= 5))
static void
yylex_destroy(void)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment