diff --git a/Units/parser-julia.r/julia_test.d/expected.tags b/Units/parser-julia.r/julia_test.d/expected.tags index c144b4dc47..15b4ad21b4 100644 --- a/Units/parser-julia.r/julia_test.d/expected.tags +++ b/Units/parser-julia.r/julia_test.d/expected.tags @@ -1,8 +1,3 @@ -Revise input.jl /^using Revise$/;" x -Normal input.jl /^import Distributions: Normal$/;" x -Random.randn input.jl /^using Random.randn$/;" x -Plots input.jl /^using Plots, Makie$/;" x -Makie input.jl /^using Plots, Makie$/;" x a input.jl /^const a::Int = 'c' # struct Struct_wrong3 end$/;" c test_macro input.jl /^macro test_macro() end$/;" m test_fun input.jl /^function test_fun(a::Int, b::T) where #$/;" f diff --git a/parsers/julia.c b/parsers/julia.c index 9d7b3516d0..ac7df5e51b 100644 --- a/parsers/julia.c +++ b/parsers/julia.c @@ -44,7 +44,7 @@ typedef enum { K_MODULE, K_STRUCT, K_TYPE, - K_IMPORT, + // K_IMPORT, K_NONE } JuliaKind; @@ -56,7 +56,7 @@ static kindDefinition JuliaKinds [] = { { true, 'n', "module", "Modules" }, { true, 's', "struct", "Structures" }, { true, 't', "type", "Types" }, - { true, 'x', "unknown", "Imported name"} + // { true, 'x', "unknown", "Imported name"} }; typedef enum { @@ -1163,7 +1163,7 @@ static void parseImport (lexerState *lexer, vString *scope, int parent_kind) while (lexer->cur_token == TOKEN_IDENTIFIER || lexer->cur_token == TOKEN_MACROCALL) { - addTag(lexer->token_str, vStringValue(name), NULL, K_IMPORT, lexer->line, lexer->pos, scope, parent_kind); + // addTag(lexer->token_str, vStringValue(name), NULL, K_IMPORT, lexer->line, lexer->pos, scope, parent_kind); skipWhitespace(lexer, false); if (lexer->cur_c == ',')