diff options
author | Denis Bitouzé <dbitouze@wanadoo.fr> | 2021-02-25 18:23:07 +0000 |
---|---|---|
committer | Denis Bitouzé <dbitouze@wanadoo.fr> | 2021-02-25 18:23:07 +0000 |
commit | c6101f91d071883b48b1b4b51e5eba0f36d9a78d (patch) | |
tree | 1bf7f5a881d7a4f5c5bf59d0b2821943dd822372 /Build/source/utils/asymptote/opsymbols.pl | |
parent | 07ee7222e389b0777456b427a55c22d0e6ffd267 (diff) |
French translation for tlmgr updated
git-svn-id: svn://tug.org/texlive/trunk@57912 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/opsymbols.pl')
-rwxr-xr-x | Build/source/utils/asymptote/opsymbols.pl | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/Build/source/utils/asymptote/opsymbols.pl b/Build/source/utils/asymptote/opsymbols.pl deleted file mode 100755 index 06491ad1c69..00000000000 --- a/Build/source/utils/asymptote/opsymbols.pl +++ /dev/null @@ -1,50 +0,0 @@ -#!/usr/bin/env perl -##### -# opsymbols.pl -# Andy Hammerlindl 2010/06/01 -# -# Extract mapping such as '+' --> SYM_PLUS from camp.l -##### - -open(header, ">opsymbols.h") || - die("Couldn't open opsymbols.h for writing"); - -print header <<END; -/***** - * This file is automatically generated by opsymbols.pl - * Changes will be overwritten. - *****/ - -// If the OPSYMBOL macro is not defined for a specific purpose, define it with -// the default purpose of using SYM_PLUS etc. as external pre-translated -// symbols. - -#ifndef OPSYMBOL -#define OPSYMBOL(str, name) extern sym::symbol name -#endif - -END - -sub add { - print header "OPSYMBOL(\"".$_[0]."\", " . $_[1] . ");\n"; -} - -open(lexer, "camp.l") || - die("Couldn't open camp.l"); - -while (<lexer>) { - if (m/^"(\S+)"\s*{\s*DEFSYMBOL\((\w+)\);/) { - add($1, $2); - } - if (m/^(\w+)\s*{\s*DEFSYMBOL\((\w+)\);/) { - add($1, $2); - } - if (m/^\s*EXTRASYMBOL\(\s*(\w+)\s*,\s*(\w+)\s*\)/) { - add($1, $2); - } -} - -print header <<END - -/* This file is automatically generated. */ -END |