diff options
| author | Christoph Schlosser <christophschlosser@users.noreply.github.com> | 2017-10-07 15:24:14 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-07 15:24:14 +0200 |
| commit | 58bdc740cdbec1aa93b21e169bb866ef080e8045 (patch) | |
| tree | 170202da2a0bb7dc97ab03d6119836e84ebb96f5 /src/CodeParser/CodeParserController.ts | |
| parent | ecdd8939344f0cc85c064d0be616b950f144702c (diff) | |
| parent | 338446ad72d3581745020aa78783f4b4d4afe4cb (diff) | |
| download | doxdocgen-58bdc740cdbec1aa93b21e169bb866ef080e8045.tar.gz | |
Merge pull request #4 from christophschlosser/0.0.2
Release 0.0.2
Diffstat (limited to 'src/CodeParser/CodeParserController.ts')
| -rw-r--r-- | src/CodeParser/CodeParserController.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CodeParser/CodeParserController.ts b/src/CodeParser/CodeParserController.ts index 6583cde..7ed113e 100644 --- a/src/CodeParser/CodeParserController.ts +++ b/src/CodeParser/CodeParserController.ts @@ -1,5 +1,6 @@ import { Disposable, Position, TextDocumentContentChangeEvent, TextEditor, TextLine, window, workspace } from "vscode"; import CodeParser from "./CodeParser"; +import CParser from "./CParser"; import CppParser from "./CppParser"; /** @@ -88,6 +89,9 @@ export default class CodeParserController { let parser: CodeParser; switch (lang) { + case "c": + parser = new CParser(); + break; case "cpp": parser = new CppParser(); break; |