From fdbe023431ad745bc4d96a61cc47b969980049e6 Mon Sep 17 00:00:00 2001 From: Adrian Thurston Date: Sun, 16 Dec 2012 22:46:18 -0500 Subject: removed lexical region name from test cases --- test/tags4.lm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'test/tags4.lm') 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' -- cgit v1.2.1