Skip to content
This repository has been archived by the owner on Jun 4, 2019. It is now read-only.

Commit

Permalink
visual: handling noweb files
Browse files Browse the repository at this point in the history
  • Loading branch information
pad committed Sep 24, 2010
1 parent 7ccd695 commit 7c916a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion commons/file_type.ml
Expand Up @@ -135,8 +135,10 @@ let file_type_of_file2 file =
| "ps" | "pdf" -> Doc e
| "ppt" -> Doc e

| "tex" | "texi"
| "tex" | "texi" -> Text e
| "txt" | "doc" -> Text e
| "nw" -> Text e

| "rtf" -> Text e

| "cmi" | "cmo" | "cmx" | "cma" | "cmxa"
Expand Down
2 changes: 2 additions & 0 deletions h_program-lang/archi_code_lexer.mll
Expand Up @@ -45,6 +45,8 @@ rule category = parse

(* pad specific, noweb *)
| ".nw/"
{ Doc }

| ".pdf/"
| ".rtf/"
{ Doc }
Expand Down

0 comments on commit 7c916a1

Please sign in to comment.