X-Git-Url: http://nitlanguage.org diff --git a/contrib/pep8analysis/src/pep8analysis_web.nit b/contrib/pep8analysis/src/pep8analysis_web.nit index 18ee374..b991952 100644 --- a/contrib/pep8analysis/src/pep8analysis_web.nit +++ b/contrib/pep8analysis/src/pep8analysis_web.nit @@ -20,8 +20,8 @@ # analysis results. The result graph will be sent to the JavaScript function # `show_graph` with the source of the graph in Graphviz's dot. module pep8analysis_web is - cpp_compiler_option("--std=c++11 --bind") - c_linker_option("--bind") + cppflags "--std=c++11 --bind" + ldflags "--bind" end import emscripten @@ -46,7 +46,7 @@ in "C++" `{ redef class AnalysisManager - fun run(src: String) + fun run_web(src: String) do sys.suggest_garbage_collection @@ -109,7 +109,7 @@ redef class AnalysisManager end redef class NativeString - fun run_analysis do manager.run to_s + fun run_analysis do manager.run_web to_s end fun dummy_set_callbacks import NativeString.run_analysis in "C++" `{