reading & showing unicode identifiers

This commit is contained in:
krangelov
2021-08-27 14:44:42 +02:00
parent 41ef5f9539
commit 3e7d80bf30
5 changed files with 80 additions and 7 deletions

View File

@@ -108,6 +108,12 @@ typedef struct PgfBind {
PgfText var;
} PgfBind;
PGF_INTERNAL_DECL bool
pgf_is_ident_first(uint32_t ucs);
PGF_INTERNAL_DECL bool
pgf_is_ident_rest(uint32_t ucs);
class PGF_INTERNAL_DECL PgfExprParser {
enum PGF_TOKEN_TAG {
PGF_TOKEN_LPAR,