3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-22 20:09:43 +01:00

modules/c2english: fix #pragma

This commit is contained in:
Pragmatic Software 2021-10-15 18:54:53 -07:00
parent 7692b57f58
commit 73e5048fad

View File

@ -92,7 +92,7 @@ pragma:
'pragma' token_sequence(?) <skip: '[ \t]*'> "\n"
{
my $pragma = join('',@{$item{'token_sequence(?)'}});
if ($pragma) { $pragma = ' "$pragma"'; }
if ($pragma) { $pragma = " \"$pragma\""; }
"Process a compiler-dependent pragma$pragma.\n"
}