diff options
author | Adrian Thurston <thurston@complang.org> | 2012-12-16 22:46:18 -0500 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2012-12-16 22:46:18 -0500 |
commit | fdbe023431ad745bc4d96a61cc47b969980049e6 (patch) | |
tree | 06938c9deee0637d1090e4d2a6dfcf9c4c56cd56 /test/tags4.lm | |
parent | 7f51e7044b84504d50d3313fb11e546a0ee547cd (diff) | |
download | colm-fdbe023431ad745bc4d96a61cc47b969980049e6.tar.gz |
removed lexical region name from test cases
Diffstat (limited to 'test/tags4.lm')
-rw-r--r-- | test/tags4.lm | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/tags4.lm b/test/tags4.lm index 6d192ce4..0e01ee8d 100644 --- a/test/tags4.lm +++ b/test/tags4.lm @@ -18,7 +18,7 @@ context tags # # Scanner for tag names. # - lex TAG_NAME + lex { ignore /space+/ token tag_id /def_name/ @@ -27,7 +27,7 @@ context tags # # Scanner for attributes names # - lex ATTR_NAME + lex { ignore /space+/ token attr_name /def_name_char+/ @@ -37,7 +37,7 @@ context tags literal '>', '/>' # Scanner for attribute values. - lex ATTR_VAL + lex { ignore /space+/ token dquote_val /'"' ([^"] | '\\' any)* '"'/ @@ -49,7 +49,7 @@ context tags # Tokens # - lex START + lex { ignore /space+/ @@ -77,7 +77,7 @@ context tags # This scanner is just for the id in close tags. The id needs to be looked up # in the tag stack so we can determine if it is a stray. - lex close_id + lex { # Ignore whitespace. ignore /space+/ @@ -130,7 +130,7 @@ context tags # Document Type # # This scanner handles inside DOCTYPE tags (except keywords). - lex DOCTYPE + lex { ignore /space+/ token dt_name /def_name/ @@ -141,7 +141,7 @@ context tags # Using a separate scanner for the keywords in DOCTYPE prevents them from # covering dt_name - lex DOCTYPE_KW + lex { ignore /space+/ literal 'SYSTEM', 'PUBLIC' |