File tree Expand file tree Collapse file tree 2 files changed +11
-8
lines changed
Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -121,13 +121,16 @@ GEN_SOURCES = \
121121all : $(PARTCL_EXE ) .revision
122122
123123src/Partcl.pir : $(GEN_SOURCES )
124- src/Partcl/commands.pm : $(COMMANDS ) $(HELPERS ) src/init.pir src/TclList.pir
125- echo " use src::init;" > src/Partcl/commands.pm
126- echo " use src::TclList;" >> src/Partcl/commands.pm
127- echo " class Builtins {" >> src/Partcl/commands.pm
128- cat $(COMMANDS ) >> src/Partcl/commands.pm
129- echo " }" >> src/Partcl/commands.pm
130- cat $(HELPERS ) >> src/Partcl/commands.pm
124+ src/Partcl/commands.pm : $(COMMANDS ) $(HELPERS ) src/init.pir src/TclList.pir \
125+ src/Partcl/Actions.pir src/Partcl/Compiler.pir
126+ echo "use src::init;" > src/Partcl/commands.pm
127+ echo "use src::TclList;" >> src/Partcl/commands.pm
128+ echo "use src::Partcl::Actions;" >> src/Partcl/commands.pm
129+ echo "use src::Partcl::Compiler;" >> src/Partcl/commands.pm
130+ echo "class Builtins {" >> src/Partcl/commands.pm
131+ cat $(COMMANDS) >> src/Partcl/commands.pm
132+ echo "}" >> src/Partcl/commands.pm
133+ cat $(HELPERS) >> src/Partcl/commands.pm
131134
132135src/Internals.pm : src/Partcl/commands.pir src/init.pm
133136src/init.pm : src/TclLexPad.pir src/TclArray.pir
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ method proc(*@args) {
88 my $ body := @ args [2 ];
99
1010 my $ parse :=
11- Partcl::Grammar . parse( $ body , : rule<TOP_proc >, : actions(Partcl::Actions) );
11+ Partcl::Compiler . parse( $ body , : rule<TOP_proc >, : actions(Partcl::Actions) );
1212 my $ block := $ parse . ast;
1313 my @ params := $ args . getList();
1414 my @ argsInfo := pir::new__PS(' TclList' );
You can’t perform that action at this time.
0 commit comments