vcpkg/ports/ragel/0003-Fix-rsxgoto.cpp-build.patch
vlj 48e05bd339 Add ragel package
[roschuma rebase: removed main.cpp]
2016-10-04 16:35:02 -07:00

26 lines
688 B
Diff

From 852aebf39d85964141cf9243d89abc2d5ee761ce Mon Sep 17 00:00:00 2001
From: vlj <vljn.ovi@gmail.com>
Date: Tue, 4 Oct 2016 18:22:41 +0200
Subject: [PATCH 3/3] Fix rsxgoto.cpp build.
---
ragel-6.9/ragel/rbxgoto.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ragel-6.9/ragel/rbxgoto.cpp b/ragel-6.9/ragel/rbxgoto.cpp
index c54cb00..9e33425 100644
--- a/ragel-6.9/ragel/rbxgoto.cpp
+++ b/ragel-6.9/ragel/rbxgoto.cpp
@@ -658,7 +658,7 @@ void RbxGotoCodeGen::BREAK( ostream &ret, int targState )
out <<
" begin\n"
" " << P() << " += 1\n"
- " " << rbxGoto(ret, "_out") << "\n"
+ " "; rbxGoto(ret, "_out") << "\n"
" end\n";
}
--
2.8.3.windows.1