diff options
| author | Christoph Schlosser <christoph@linux.com> | 2017-10-07 14:57:01 +0200 |
|---|---|---|
| committer | Christoph Schlosser <christoph@linux.com> | 2017-10-07 15:16:34 +0200 |
| commit | 338446ad72d3581745020aa78783f4b4d4afe4cb (patch) | |
| tree | 170202da2a0bb7dc97ab03d6119836e84ebb96f5 /src/CodeParser/CodeParserController.ts | |
| parent | d71125855f1a8e082d4080f40f0ee2cde2e3302d (diff) | |
| download | doxdocgen-338446ad72d3581745020aa78783f4b4d4afe4cb.tar.gz | |
Add C parser and generator
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; |