Don't use non-existent \a syntax in test grammars

This commit is contained in:
Max Brunsfeld 2017-12-13 12:21:28 -08:00
parent f426b61e7c
commit e5851fd9b9
9 changed files with 15 additions and 15 deletions

View file

@ -66,6 +66,6 @@
}
},
"identifier": {"type": "PATTERN", "value": "\\a+"}
"identifier": {"type": "PATTERN", "value": "[a-z]+"}
}
}

View file

@ -71,6 +71,6 @@
]
},
"identifier": {"type": "PATTERN", "value": "\\a+"}
"identifier": {"type": "PATTERN", "value": "[a-z]+"}
}
}
}

View file

@ -29,7 +29,7 @@
]
},
"variable": {"type": "PATTERN", "value": "\\a+"},
"variable": {"type": "PATTERN", "value": "[a-z]+"},
"number": {"type": "PATTERN", "value": "\\d+"}
}
}
}

View file

@ -29,8 +29,8 @@
]
},
"variable": {"type": "PATTERN", "value": "\\a+"},
"variable": {"type": "PATTERN", "value": "[a-z]+"},
"number": {"type": "PATTERN", "value": "\\d+"},
"line_break": {"type": "STRING", "value": "\n"}
}
}
}

View file

@ -20,6 +20,6 @@
]
},
"variable": {"type": "PATTERN", "value": "\\a+"}
"variable": {"type": "PATTERN", "value": "[a-z]+"}
}
}
}

View file

@ -51,7 +51,7 @@
"identifier": {
"type": "PATTERN",
"value": "\\a+"
"value": "[a-z]+"
}
}
}
}

View file

@ -70,6 +70,6 @@
}
},
"identifier": {"type": "PATTERN", "value": "\\a+"}
"identifier": {"type": "PATTERN", "value": "[a-z]+"}
}
}

View file

@ -49,7 +49,7 @@
"identifier": {
"type": "PATTERN",
"value": "\\a+"
"value": "[a-z]+"
}
}
}

View file

@ -52,7 +52,7 @@
"identifier": {
"type": "PATTERN",
"value": "\\a+"
"value": "[a-z]+"
}
}
}
}