diff options
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\.\-_:]* { |