diff options
author | sanine <sanine.not@pm.me> | 2023-01-18 16:55:01 -0600 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2023-01-18 16:55:01 -0600 |
commit | 21afbb0644edc06fa47d29b847b4958d317b6a60 (patch) | |
tree | b0b59710cf83abc6b0dfc833a3cc835bb18c1127 /yy/kalmia.l | |
parent | 5d2e5a312ba73bd48913e9ac5babe1c644997b3e (diff) |
parse param nodesyacc
Diffstat (limited to 'yy/kalmia.l')
-rw-r--r-- | yy/kalmia.l | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/yy/kalmia.l b/yy/kalmia.l index 7e04f1a..6950330 100644 --- a/yy/kalmia.l +++ b/yy/kalmia.l @@ -49,16 +49,28 @@ ATTR ([\x20\x0a\x0d\x09]*)?"=" /* float_array tag */ return FLOAT_ARRAY; } +<INITIAL>"param" { + /* param tag */ + return PARAM; +} <INITIAL>"id"/{ATTR} { /* id attribute */ return ID_ATTR; } -<INTIAL>"count"/{ATTR} { +<INITIAL>"count"/{ATTR} { /* count attribute */ return COUNT_ATTR; } +<INITIAL>"name"/{ATTR} { + /* name attribute */ + return NAME_ATTR; +} +<INITIAL>"type"/{ATTR} { + /* type attribute */ + return TYPE_ATTR; +} <INITIAL>[a-zA-Z_:][a-zA-Z0-9\.\-_:]* { |