Skip to content

Commit

Permalink
Compiladores: More fixes for binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
JCapucho committed Mar 5, 2024
1 parent 9f1a244 commit e871e5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 2ano2/Compiladores/antlr4-bin/antlr4-build
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function process()
fi
case $target in
java)
(cd `dirname $g`; if ( grep Visitor *java &> /dev/null ); then opt="-visitor"; else opt=""; fi; antlr4 $opt `basename $g`*.g4) && javac ./`dirname $g`/*.java
(cd `dirname $g`; if ( grep Visitor *java &> /dev/null ); then opt="-visitor"; else opt=""; fi; antlr4 $opt `basename $g`*.g4) && antlr4-javac ./`dirname $g`/*.java
;;
cpp)
(cd `dirname $g`; make)
Expand Down
2 changes: 1 addition & 1 deletion 2ano2/Compiladores/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
installPhase = ''
set -eu
mkdir -p $out/share/java
cp ${src} $out/share/java
cp ${src} $out/share/java/ST-${version}.jar
'';
};

Expand Down

0 comments on commit e871e5b

Please sign in to comment.