From 31f6517aa5d8d3ccdd0b39880337c000943d08c1 Mon Sep 17 00:00:00 2001 From: Rowan Goemans Date: Sun, 31 Dec 2017 04:07:55 +0100 Subject: -- Completed unit tests for operators. Conversion operators aren't working yet. -- Renamed all C things to Cpp since that is really what they are. -- Made empty files for the remaining unit tests. --- src/CodeParserController.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/CodeParserController.ts') diff --git a/src/CodeParserController.ts b/src/CodeParserController.ts index 32d1d75..1b42f3d 100644 --- a/src/CodeParserController.ts +++ b/src/CodeParserController.ts @@ -10,7 +10,7 @@ import { } from "vscode"; import CodeParser from "./Common/ICodeParser"; import { Config } from "./Config"; -import CParser from "./Lang/C/CParser"; +import CppParser from "./Lang/Cpp/CppParser"; /** * * Checks if the event matches the specified guidelines and if a parser exists for this language @@ -86,7 +86,7 @@ export default class CodeParserController { switch (lang) { case "c": case "cpp": - parser = new CParser(this.cfg); + parser = new CppParser(this.cfg); break; default: // tslint:disable-next-line:no-console -- cgit v1.2.3