This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
lexer API
[perl5.git] / parser.h
index 74d8ef2..462dcfd 100644 (file)
--- a/parser.h
+++ b/parser.h
@@ -107,6 +107,10 @@ typedef struct yy_parser {
 
 } yy_parser;
 
+/* flags for lexer API */
+#define LEX_STUFF_UTF8         0x00000001
+#define LEX_KEEP_PREVIOUS      0x00000002
+
 /*
  * Local variables:
  * c-indentation-style: bsd