Skip to content

Commit 6662ec4

Browse files
authored
Merge pull request #1475 from bekicot/fix-pascal
Fix pascal compiler.
2 parents a5f6745 + 48de9bd commit 6662ec4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Currently supported grammars are:
7676
| [Octave] | Yes | Yes | [language-matlab] | `octave` | |
7777
| [Oz] | Yes | Yes | [language-oz] | `ozc` | |
7878
| [Pandoc] Markdown | Yes | | [language-pfm] | [`panzer`] | |
79-
| [Pascal] | Yes | Yes | [language-pascal] | `fsc` | |
79+
| [Pascal] | Yes | Yes | [language-pascal] | `fpc` | |
8080
| Perl | Yes | Yes | | | |
8181
| [Perl 6] | Yes | Yes | | `perl6` | |
8282
| PHP | Yes | Yes | | | |

lib/grammars/index.coffee

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,13 +237,13 @@ module.exports =
237237

238238
Pascal:
239239
'Selection Based':
240-
command: 'fsc'
240+
command: 'fpc'
241241
args: (context) ->
242242
code = context.getCode()
243243
tmpFile = GrammarUtils.createTempFileWithCode(code)
244244
return [tmpFile]
245245
'File Based':
246-
command: 'fsc'
246+
command: 'fpc'
247247
args: ({filepath}) -> [filepath]
248248

249249
Prolog:

0 commit comments

Comments
 (0)