Kaydet (Commit) 6dacd90a authored tarafından Guido van Rossum's avatar Guido van Rossum

Allow leading underscore in keywords.

üst 6fa4466c
......@@ -216,7 +216,7 @@ translabel(g, lb)
}
if (lb->lb_type == STRING) {
if (isalpha(lb->lb_str[1])) {
if (isalpha(lb->lb_str[1]) || lb->lb_str[1] == '_') {
char *p;
if (debugging)
printf("Label %s is a keyword\n", lb->lb_str);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment