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

change force_buffer_flush prototype
parent d5e579f7
No related branches found
No related tags found
No related merge requests found
...@@ -58,7 +58,7 @@ int yylex (void); ...@@ -58,7 +58,7 @@ int yylex (void);
prematurely (i.e., in case of a parse error) so that the next time prematurely (i.e., in case of a parse error) so that the next time
we call the scanner, all is nicely reset. Without this, the we call the scanner, all is nicely reset. Without this, the
behaviour of the next call after an error is unpredictable. */ behaviour of the next call after an error is unpredictable. */
int force_buffer_flush(void); void force_buffer_flush(void);
#line 48 "parser.y" #line 48 "parser.y"
......
...@@ -40,7 +40,7 @@ int yylex (void); ...@@ -40,7 +40,7 @@ int yylex (void);
prematurely (i.e., in case of a parse error) so that the next time prematurely (i.e., in case of a parse error) so that the next time
we call the scanner, all is nicely reset. Without this, the we call the scanner, all is nicely reset. Without this, the
behaviour of the next call after an error is unpredictable. */ behaviour of the next call after an error is unpredictable. */
int force_buffer_flush(void); void force_buffer_flush(void);
%} %}
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
/* A lexical scanner generated by flex */ /* A lexical scanner generated by flex */
/* Scanner skeleton version: /* Scanner skeleton version:
* $Header: /cvsroot/gmsh/MathEval/scanner.cpp,v 1.4 2004-05-12 18:57:48 geuzaine Exp $ * $Header: /cvsroot/gmsh/MathEval/scanner.cpp,v 1.5 2004-06-04 18:42:10 geuzaine Exp $
*/ */
#define FLEX_SCANNER #define FLEX_SCANNER
...@@ -1705,4 +1705,4 @@ static int input_from_string (char *buffer, int max_size) ...@@ -1705,4 +1705,4 @@ static int input_from_string (char *buffer, int max_size)
return count; return count;
} }
int force_buffer_flush() { YY_FLUSH_BUFFER; } void force_buffer_flush() { YY_FLUSH_BUFFER; }
...@@ -125,4 +125,4 @@ static int input_from_string (char *buffer, int max_size) ...@@ -125,4 +125,4 @@ static int input_from_string (char *buffer, int max_size)
return count; return count;
} }
int force_buffer_flush() { YY_FLUSH_BUFFER; } void force_buffer_flush() { YY_FLUSH_BUFFER; }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment