-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changed readme files to `.rdoc' files and tweaked the formatting of e…
…ach files' content
- Loading branch information
Kyle Yetter
committed
May 29, 2011
1 parent
d275287
commit 34f8930
Showing
3 changed files
with
87 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- antlr4ruby.bak 2011-03-31 11:09:22.496925400 +0100 | ||
+++ antlr4ruby 2011-03-31 11:26:17.930411000 +0100 | ||
@@ -80,6 +80,12 @@ | ||
|
||
jar = ANTLR3.antlr_jar or fail( "cannot find antlr4ruby's customized ANTLR jar" ) | ||
|
||
+# Convert the Posix path to a proper Windows path, otherwise the Java runtime | ||
+# will not find the antlr Jar file. | ||
+if /mswin32|cygwin|mingw|bccwin/ =~ RUBY_PLATFORM | ||
+ jar = `cygpath -aw #{jar}`.strip | ||
+end | ||
+ | ||
run = proc do | *args | | ||
exec( 'java', '-jar', jar, *args ) | ||
end |