Commit 4e3869ca authored by POTTIER Francois's avatar POTTIER Francois

Rename aux.ml to auxiliary.ml to avoid a reserved name on Windows.

parent 5ced458a
Pipeline #160058 failed with stage
;; Menhir, code back-end, %inline disabled.
;; Copy the common source files.
(copy_files# ../src/{calc,aux}.ml)
(copy_files# ../src/{calc,auxiliary}.ml)
(copy_files# ../src/lexer.mll)
;; Copy the appropriate parser.
......
;; Menhir, code back-end, %inline enabled.
;; Copy the common source files.
(copy_files# ../src/{calc,aux}.ml)
(copy_files# ../src/{calc,auxiliary}.ml)
(copy_files# ../src/lexer.mll)
;; Copy the appropriate parser.
......
;; Menhir, table back-end, %inline disabled.
;; Copy the common source files.
(copy_files# ../src/{calc,aux}.ml)
(copy_files# ../src/{calc,auxiliary}.ml)
(copy_files# ../src/lexer.mll)
;; Copy the appropriate parser.
......
;; Menhir, table back-end, %inline enabled.
;; Copy the common source files.
(copy_files# ../src/{calc,aux}.ml)
(copy_files# ../src/{calc,auxiliary}.ml)
(copy_files# ../src/lexer.mll)
;; Copy the appropriate parser.
......
;; ocamlyacc.
;; Copy the common source files.
(copy_files# ../src/{calc,aux}.ml)
(copy_files# ../src/{calc,auxiliary}.ml)
(copy_files# ../src/lexer.mll)
;; Copy the appropriate parser.
......
......@@ -8,7 +8,7 @@ let process (line : string) =
We construct a tree and print it afterwards (instead of printing
within the semantic actions) because %inline reorders side effects,
and that would prevent us from comparing the positions. *)
Aux.Print.main (Parser.main Lexer.token linebuf)
Auxiliary.Print.main (Parser.main Lexer.token linebuf)
with
| Lexer.Error msg ->
Printf.fprintf stderr "%s%!" msg
......
......@@ -8,10 +8,10 @@
%left TIMES DIV /* medium precedence */
%nonassoc UMINUS /* highest precedence */
%type<Aux.annotations> annotations
%start<Aux.main> main
%type<Auxiliary.annotations> annotations
%start<Auxiliary.main> main
%{ open Aux %}
%{ open Auxiliary %}
%%
......
......@@ -8,8 +8,8 @@
%left TIMES DIV /* medium precedence */
%nonassoc UMINUS /* highest precedence */
%type<Aux.annotations> annotations
%type<Aux.main> main
%type<Auxiliary.annotations> annotations
%type<Auxiliary.main> main
%start main
/* For now, we do not use [Parsing.symbol_start_pos()] because it performs
......@@ -18,7 +18,7 @@
[Parsing.symbol_start_pos()] for epsilon productions and
[Parsing.rhs_start_pos 1] for non-epsilon productions. */
%{ open Aux %}
%{ open Auxiliary %}
%%
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment