tree-sitter: style

This commit is contained in:
Björn Linse
2019-06-15 13:12:59 +02:00
parent a361e09cc5
commit c1dc1bedba
2 changed files with 58 additions and 56 deletions

View File

@@ -828,8 +828,7 @@ static int create_tslua_parser(lua_State *L)
return luaL_error(L, "string expected");
}
const char *lang_name = lua_tostring(L,1);
const char *lang_name = lua_tostring(L, 1);
return tslua_push_parser(L, lang_name);
}