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

Commit

Permalink
opa: program_with_tokens -> program_and_tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
aryx committed Aug 5, 2015
1 parent 375d907 commit 45fdb98
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lang_opa/analyze/highlight_opa.mli
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
val visit_toplevel :
tag_hook:(Ast_opa.tok -> Highlight_code.category -> unit) ->
Highlight_code.highlighter_preferences ->
Parse_opa.program_with_tokens ->
Parse_opa.program_and_tokens ->
unit
2 changes: 1 addition & 1 deletion lang_opa/parsing/parse_opa.ml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module PI = Parse_info
(*****************************************************************************)

(* the token list contains also the comment-tokens *)
type program_with_tokens =
type program_and_tokens =
Ast_opa.program * Parser_opa.token list

(*****************************************************************************)
Expand Down
6 changes: 3 additions & 3 deletions lang_opa/parsing/parse_opa.mli
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@

type program_with_tokens = Ast_opa.program * Parser_opa.token list
type program_and_tokens = Ast_opa.program * Parser_opa.token list

exception Parse_error of Parse_info.info

(* This is the main function *)
val parse: Common.filename -> program_with_tokens
val parse: Common.filename -> program_and_tokens

(* degenerated parser *)
val parse_just_tokens: Common.filename -> program_with_tokens
val parse_just_tokens: Common.filename -> program_and_tokens

(* internal *)
val tokens: Common.filename -> Parser_opa.token list

0 comments on commit 45fdb98

Please sign in to comment.