Commit 8cea03eb authored by Daniel Espinosa Ortiz's avatar Daniel Espinosa Ortiz

scanner: fix keyword's name calculation

parent 20a75398
......@@ -123,8 +123,9 @@ public class GVls.GScanner : Object {
case Vala.TokenType.WHILE:
case Vala.TokenType.YIELD:
string n = token.to_string ();
n.replace ("`", "");
n.replace ("'", "");
n = n.replace ("`", "");
n = n.replace ("'", "");
message ("Name to Add: %s", n);
var k = new GKeyword (n, loc);
keyword (k as Symbol);
break;
......
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