diff libinterp/parse-tree/lex.ll @ 31085:4b6f03d7264a stable

test: Move new BISTs to lexer and adapt syntax (bug #62587). * libinterp/parse-tree/lex.ll: Move BISTs from oct-parse.yy to here.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 09 Jun 2022 16:44:10 +0200
parents 4d45392387ec
children 1779a64b2510
line wrap: on
line diff
--- a/libinterp/parse-tree/lex.ll	Thu Jun 09 08:59:55 2022 -0400
+++ b/libinterp/parse-tree/lex.ll	Thu Jun 09 16:44:10 2022 +0200
@@ -2927,6 +2927,14 @@
     return kw->tok;
   }
 
+/*
+
+## check if magic file and line keywords are working
+%!assert <*62587> (ischar (__FILE__))
+%!assert <*62587> (isnumeric (__LINE__))
+
+*/
+
   bool
   base_lexer::fq_identifier_contains_keyword (const std::string& s)
   {