Restructure __intrinsic_print to be a keyword-like Print (#1407)

This commit is contained in:
Jon Ross-Perkins
2022-07-18 13:58:08 -04:00
committed by GitHub
parent 4296e1e780
commit 084bc6ebc1
12 changed files with 93 additions and 20 deletions
+2 -1
View File
@@ -100,7 +100,8 @@ WHILE "while"
/* This should be kept table-like, but isn't automatic due to spaces. */
identifier [A-Za-z_][A-Za-z0-9_]*
intrinsic_identifier __intrinsic_[A-Za-z0-9_]*
/* TODO: Remove Print special casing once we have variadics or overloads. */
intrinsic_identifier (Print|__intrinsic_[A-Za-z0-9_]*)
sized_type_literal [iuf][1-9][0-9]*
integer_literal [0-9]+
horizontal_whitespace [ \t\r]