Support require_relative as a keyword.
@@ -62,6 +62,7 @@ const (
While = "WHILE"
Do = "DO"
Yield = "YIELD"
+ RequireRelative = "REQUIRE_RELATIVE"
)
var keywords = map[string]Type{
@@ -76,6 +77,7 @@ var keywords = map[string]Type{
"while": While,
"do": Do,
"yield": Yield,
+ "require_relative": RequireRelative,
}
// LookupIdent is used for keyword identification
