-/* Generated by re2c 1.1.1 on Tue Feb 12 22:50:47 2019 */
+/* Generated by re2c 1.1.1 on Thu Mar 7 22:57:34 2019 */
#line 1 "../src/parse/lex_conf.re"
#include "src/util/c99_stdint.h"
#include <string>
{
const int32_t eof = lex_conf_number();
if (eof < 0) {
- msg.fatal(cur_loc(), "eof cannot have negative value");
+ msg.fatal(cur_loc(), "EOF symbol cannot have negative value");
}
opts.set_eof(static_cast<uint32_t>(eof));
return;
"eof" {
const int32_t eof = lex_conf_number();
if (eof < 0) {
- msg.fatal(cur_loc(), "eof cannot have negative value");
+ msg.fatal(cur_loc(), "EOF symbol cannot have negative value");
}
opts.set_eof(static_cast<uint32_t>(eof));
return;
--- /dev/null
+re2c: error: 're2c:eof' configuration is set, but no EOF rule found
--- /dev/null
+/*!re2c
+ re2c:eof = 0;
+ * {}
+*/
--- /dev/null
+eof/eof_07.re:2:18: error: EOF symbol cannot have negative value
--- /dev/null
+/*!re2c
+ re2c:eof = -1;
+ $ {}
+ * {}
+*/
--- /dev/null
+re2c: error: EOF exceeds maximum code unit value for given encoding
--- /dev/null
+/*!re2c
+ re2c:eof = 256;
+ $ {}
+ * {}
+*/
--- /dev/null
+eof/eof_08.re:2:25: error: configuration value overflow
--- /dev/null
+/*!re2c
+ re2c:eof = 9999999999;
+ $ {}
+ * {}
+*/
--- /dev/null
+re2c: error: EOF exceeds maximum code unit value for given encoding
--- /dev/null
+/*!re2c
+ re2c:eof = 1114112;
+ $ {}
+ * {}
+*/
--- /dev/null
+re2c: error: EOF exceeds maximum code unit value for given encoding
--- /dev/null
+/*!re2c
+ re2c:eof = 65536;
+ $ {}
+ * {}
+*/