简体   繁体   中英

Parsing code with caseless keyword with Tatsu / grako

I try to parse Fortran code with keyword which are caseless with Tatsu h! Is there a smarter way to define the keyword caseless than these :

@@ keyword :: integer INTEGER etc...

Thanks

您可以使用@@ignorecase指令,如解释在这里

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM