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

Commit

Permalink
generates PIR coda
Browse files Browse the repository at this point in the history
  • Loading branch information
fperrad committed Mar 21, 2009
1 parent be3c9cb commit 920c8a2
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/build/translator.pl
Expand Up @@ -121,8 +121,10 @@ sub validate_rule {
# Generate the initialization code.
# #################################
sub generate_initial_pir {
return $pir = <<'PIRCODE';
# THIS IS A GENERATED FILE! DO NOT EDIT!
return $pir = <<"PIRCODE";
# ex: set ro:
# DO NOT EDIT THIS FILE
# Generated by $0 from src/lib/luabytecode.rules
.namespace ['Lua'; 'InstructionList']
Expand Down Expand Up @@ -517,6 +519,12 @@ sub generate_final_code {
.return (gen_pir)
.end
# Local Variables:
# mode: pir
# fill-column: 100
# End:
# vim: expandtab shiftwidth=4 ft=pir:
PIRCODE

# Return generated code.
Expand Down

0 comments on commit 920c8a2

Please sign in to comment.