Module Name:    src
Committed By:   joerg
Date:           Sat Aug 27 18:36:03 UTC 2011

Modified Files:
        src/external/bsd/flex/dist: flex.skl

Log Message:
Mark yy_fatal_error as noreturn if supported by the compiler.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/flex/dist/flex.skl

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/flex/dist/flex.skl
diff -u src/external/bsd/flex/dist/flex.skl:1.5 src/external/bsd/flex/dist/flex.skl:1.6
--- src/external/bsd/flex/dist/flex.skl:1.5	Sun Dec  6 09:16:16 2009
+++ src/external/bsd/flex/dist/flex.skl	Sat Aug 27 18:36:03 2011
@@ -736,6 +736,9 @@
 static yy_state_type yy_get_previous_state M4_YY_PARAMS( M4_YY_PROTO_ONLY_ARG );
 static yy_state_type yy_try_NUL_trans M4_YY_PARAMS( yy_state_type current_state  M4_YY_PROTO_LAST_ARG);
 static int yy_get_next_buffer M4_YY_PARAMS( M4_YY_PROTO_ONLY_ARG );
+#if defined(__GNUC__) && __GNUC__ >= 3
+__attribute__((__noreturn__))
+#endif
 static void yy_fatal_error M4_YY_PARAMS( yyconst char msg[] M4_YY_PROTO_LAST_ARG );
 ]])
 

Reply via email to