"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tools/introspection/scanner.pm" between
darktable-2.6.3.tar.xz and darktable-3.0.0.rc0.tar.xz

About: darktable is an open source photography workflow application and RAW developer. A virtual lighttable and darkroom for photographers. Release candidate.

scanner.pm  (darktable-2.6.3.tar.xz):scanner.pm  (darktable-3.0.0.rc0.tar.xz)
skipping to change at line 27 skipping to change at line 27
package scanner; package scanner;
use strict; use strict;
use warnings; use warnings;
use Exporter; use Exporter;
our @ISA = 'Exporter'; our @ISA = 'Exporter';
our @EXPORT = qw( @token @comments our @EXPORT = qw( @token @comments
$P_LINENO $P_FILENAME $P_TYPE $P_VALUE $P_LINENO $P_FILENAME $P_TYPE $P_VALUE
$T_NONE $T_IDENT $T_KEYWORD $T_INTEGER_LITERAL $T_OPERATOR $T_NONE $T_IDENT $T_KEYWORD $T_INTEGER_LITERAL $T_OPERATOR
$K_UNSIGNED $K_SIGNED $K_GBOOLEAN $K_CHAR $K_UCHAR $K_SHORT $K _USHORT $K_INT $K_UINT $K_LONG $K_ULONG $K_FLOAT $K_DOUBLE $K_COMPLEX $K_TYPEDEF $K_STRUCT $K_UNION $K_CONST $K_VOLATILE $K_STATIC $K_ENUM $K_VOID $K_DT_MODULE_ INTROSPECTION $K_UNSIGNED $K_SIGNED $K_GBOOLEAN $K_CHAR $K_INT8 $K_UINT8 $K_ SHORT $K_USHORT $K_INT $K_UINT $K_LONG $K_ULONG $K_FLOAT $K_DOUBLE $K_COMPLEX $K _TYPEDEF $K_STRUCT $K_UNION $K_CONST $K_VOLATILE $K_STATIC $K_ENUM $K_VOID $K_DT _MODULE_INTROSPECTION
$O_ASTERISK $O_AMPERSAND $O_SEMICOLON $O_COMMA $O_COLON $O_SLA SH $O_LEFTROUND $O_RIGHTROUND $O_LEFTCURLY $O_RIGHTCURLY $O_LEFTSQUARE $O_RIGHTS QUARE $O_EQUAL $O_ASTERISK $O_AMPERSAND $O_SEMICOLON $O_COMMA $O_COLON $O_SLA SH $O_LEFTROUND $O_RIGHTROUND $O_LEFTCURLY $O_RIGHTCURLY $O_LEFTSQUARE $O_RIGHTS QUARE $O_EQUAL
read_file get_token look_ahead token2string read_file get_token look_ahead token2string
isid isinteger issemicolon istypedef isstruct isunion isenum i sleftcurly isrightcurly isleftround isrightround isleftsquare isrightsquare isid isinteger issemicolon istypedef isstruct isunion isenum i sleftcurly isrightcurly isleftround isrightround isleftsquare isrightsquare
iscomma isasterisk isequal isconst isvolatile isdtmoduleintros pection iscomma isasterisk isequal isconst isvolatile isdtmoduleintros pection
); );
################# the scanner ################# ################# the scanner #################
my %history; # we don't like cyclic includes my %history; # we don't like cyclic includes
skipping to change at line 68 skipping to change at line 68
our $T_INTEGER_LITERAL = $i++; our $T_INTEGER_LITERAL = $i++;
our $T_OPERATOR = $i++; our $T_OPERATOR = $i++;
$i = 0; $i = 0;
# keywords # keywords
my @K_readable; my @K_readable;
our $K_UNSIGNED = $i++; push(@K_readable, 'unsigned'); our $K_UNSIGNED = $i++; push(@K_readable, 'unsigned');
our $K_SIGNED = $i++; push(@K_readable, 'signed'); our $K_SIGNED = $i++; push(@K_readable, 'signed');
our $K_GBOOLEAN = $i++; push(@K_readable, 'gboolean'); our $K_GBOOLEAN = $i++; push(@K_readable, 'gboolean');
our $K_CHAR = $i++; push(@K_readable, 'char'); our $K_CHAR = $i++; push(@K_readable, 'char');
our $K_UCHAR = $i++; push(@K_readable, 'uchar'); our $K_INT8 = $i++; push(@K_readable, 'int8_t');
our $K_UINT8 = $i++; push(@K_readable, 'uint8_t');
our $K_SHORT = $i++; push(@K_readable, 'short'); our $K_SHORT = $i++; push(@K_readable, 'short');
our $K_USHORT = $i++; push(@K_readable, 'ushort'); our $K_USHORT = $i++; push(@K_readable, 'ushort');
our $K_INT = $i++; push(@K_readable, 'int'); our $K_INT = $i++; push(@K_readable, 'int');
our $K_UINT = $i++; push(@K_readable, 'uint'); our $K_UINT = $i++; push(@K_readable, 'uint');
our $K_LONG = $i++; push(@K_readable, 'long'); our $K_LONG = $i++; push(@K_readable, 'long');
our $K_ULONG = $i++; push(@K_readable, 'ulong'); our $K_ULONG = $i++; push(@K_readable, 'ulong');
our $K_FLOAT = $i++; push(@K_readable, 'float'); our $K_FLOAT = $i++; push(@K_readable, 'float');
our $K_DOUBLE = $i++; push(@K_readable, 'double'); our $K_DOUBLE = $i++; push(@K_readable, 'double');
our $K_COMPLEX = $i++; push(@K_readable, 'complex'); our $K_COMPLEX = $i++; push(@K_readable, 'complex');
our $K_TYPEDEF = $i++; push(@K_readable, 'typedef'); our $K_TYPEDEF = $i++; push(@K_readable, 'typedef');
skipping to change at line 93 skipping to change at line 94
our $K_STATIC = $i++; push(@K_readable, 'static'); our $K_STATIC = $i++; push(@K_readable, 'static');
our $K_ENUM = $i++; push(@K_readable, 'enum'); our $K_ENUM = $i++; push(@K_readable, 'enum');
our $K_VOID = $i++; push(@K_readable, 'void'); our $K_VOID = $i++; push(@K_readable, 'void');
our $K_DT_MODULE_INTROSPECTION = $i++; push(@K_readable, 'DT_MODULE_INTROSPECTIO N'); our $K_DT_MODULE_INTROSPECTION = $i++; push(@K_readable, 'DT_MODULE_INTROSPECTIO N');
my @keywords = ( my @keywords = (
['unsigned', $K_UNSIGNED], ['unsigned', $K_UNSIGNED],
['signed', $K_SIGNED], ['signed', $K_SIGNED],
['gboolean', $K_GBOOLEAN], ['gboolean', $K_GBOOLEAN],
['char', $K_CHAR], ['char', $K_CHAR],
['gchar', $K_CHAR], ['gchar', $K_CHAR],
['int8_t', $K_CHAR], ['int8_t', $K_INT8],
['uint8_t', $K_UINT8],
['short', $K_SHORT], ['short', $K_SHORT],
['int16_t', $K_SHORT], ['int16_t', $K_SHORT],
['uint16_t', $K_USHORT], ['uint16_t', $K_USHORT],
['int', $K_INT], ['int', $K_INT],
['gint', $K_INT], ['gint', $K_INT],
['uint', $K_UINT], ['uint', $K_UINT],
['uint32_t', $K_UINT], ['uint32_t', $K_UINT],
['int32_t', $K_INT], ['int32_t', $K_INT],
['long', $K_LONG], ['long', $K_LONG],
['float', $K_FLOAT], ['float', $K_FLOAT],
 End of changes. 3 change blocks. 
3 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)