Skip to content
Snippets Groups Projects
Commit 42c9276c authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

make sure to undefine "register" (c++11 compatibility)

parent 226762b5
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -63,6 +63,10 @@ void skipline(void); ...@@ -63,6 +63,10 @@ void skipline(void);
#define YY_NO_UNISTD_H #define YY_NO_UNISTD_H
#endif #endif
// undefine register for C++11 compatibility of files generated with old
// versions of flex/bison
#define register
%} %}
alpha [a-zA-Z\_] alpha [a-zA-Z\_]
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment